summarylogtreecommitdiffstats
path: root/PKGBUILD
diff options
context:
space:
mode:
authorblackhole2016-02-29 11:44:16 +0100
committerblackhole2016-02-29 11:44:16 +0100
commitf3beec96ebe41fff0824f7c339a80234c3dc8169 (patch)
treed31c62f50c0fc48159824dfc7d41f9186e6b1170 /PKGBUILD
parent62013fca8d1d2b48ff9020c131145f471534a7c3 (diff)
downloadaur-f3beec96ebe41fff0824f7c339a80234c3dc8169.tar.gz
Added systemd service and conf file
Diffstat (limited to 'PKGBUILD')
-rw-r--r--PKGBUILD15
1 files changed, 10 insertions, 5 deletions
diff --git a/PKGBUILD b/PKGBUILD
index 4e3c9059800..bb22a03fa91 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -5,7 +5,7 @@
pkgname=squeezelite-r2-git
pkgver=v1.8.2.R2.r1.g681fc3d
-pkgrel=3
+pkgrel=4
pkgdesc='Lightweight headless squeezebox emulator - version r2'
arch=('i686' 'x86_64' 'armv6h')
url='http://www.marcoc1712.it/'
@@ -20,8 +20,10 @@ optdepends=('faad2: Support for decoding AAC'
'portaudio: Use of binary using portaudio for output')
provides=('squeezelite')
conflicts=('squeezelite')
-source=('git+https://github.com/marcoc1712/squeezelite-R2')
-sha256sums=('SKIP')
+source=('git+https://github.com/marcoc1712/squeezelite-R2' "squeezelite@.service" "squeezelite" )
+sha256sums=('SKIP' 'SKIP' 'SKIP')
+backup=('etc/conf.d/squeezelite')
+install=squeezelite.install
pkgver() {
cd squeezelite-R2/
@@ -46,11 +48,14 @@ build() {
}
package() {
+ install -Dm644 "squeezelite" "$pkgdir/etc/conf.d/squeezelite"
+ install -Dm644 "squeezelite@.service" "$pkgdir/usr/lib/systemd/system/squeezelite@.service"
+
cd squeezelite-R2/
# Install binaries
- install -Dm755 squeezelite-pa "${pkgdir}/usr/bin/squeezelite-pa"
- install -Dm755 squeezelite-R2 "${pkgdir}/usr/bin/squeezelite-r2"
+ install -Dm755 squeezelite-R2-pa "${pkgdir}/usr/bin/squeezelite-pa"
+ install -Dm755 squeezelite-R2 "${pkgdir}/usr/bin/squeezelite"
install -Dm644 "LICENSE.txt" "$pkgdir/usr/share/licenses/$pkgname/COPYING"
}