Install systemd service on Arch Linux

This commit is contained in:
Joseph C. Lehner
2013-10-20 14:55:53 +02:00
parent e1f71f5da3
commit 4baca06129
+3 -1
View File
@@ -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
}