From 4baca0612907b96fb57b96f4b75d1830385281c5 Mon Sep 17 00:00:00 2001 From: "Joseph C. Lehner" Date: Sun, 20 Oct 2013 14:55:53 +0200 Subject: [PATCH] Install systemd service on Arch Linux --- scripts/PKGBUILD | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/scripts/PKGBUILD b/scripts/PKGBUILD index 9d435b48a..87709d212 100644 --- a/scripts/PKGBUILD +++ b/scripts/PKGBUILD @@ -1,7 +1,7 @@ # for Arch Linux pkgname=shairport-git pkgver=1.0 -pkgrel=1 +pkgrel=2 pkgdesc="An AirPlay-compatible audio receiver" url='http://github.com/abrasive/shairport' arch=('i686' 'x86_64' 'armv6h') @@ -21,4 +21,6 @@ build() { package() { cd "$srcdir"/shairport make PREFIX="$pkgdir/usr" install + install -m 755 -d "$pkgdir"/usr/lib/systemd/system + install -m 644 scripts/shairport.service "$pkgdir"/usr/lib/systemd/system/shairport.service }