aboutsummaryrefslogtreecommitdiffstats
path: root/testing/snapcast
diff options
context:
space:
mode:
authorCarlo Landmeter <clandmeter@gmail.com>2017-04-12 17:09:54 +0200
committerCarlo Landmeter <clandmeter@gmail.com>2017-04-12 17:09:54 +0200
commitc0722a089a60fe9b1e957735939774a1cf6ba4f9 (patch)
tree7d20dfebcf56bda0f96e0afb2abd522524b72164 /testing/snapcast
parent8dd03a19ba168787b7f7820d6c2dc34625e7dd6a (diff)
downloadaports-c0722a089a60fe9b1e957735939774a1cf6ba4f9.tar.bz2
aports-c0722a089a60fe9b1e957735939774a1cf6ba4f9.tar.xz
testing/snapcast: add install files to main install option
Diffstat (limited to 'testing/snapcast')
-rw-r--r--testing/snapcast/APKBUILD6
1 files changed, 2 insertions, 4 deletions
diff --git a/testing/snapcast/APKBUILD b/testing/snapcast/APKBUILD
index dc84796cac..2ab9d89548 100644
--- a/testing/snapcast/APKBUILD
+++ b/testing/snapcast/APKBUILD
@@ -5,7 +5,7 @@ pkgver=0.11.1
### NOTE: when bumping pkgver also update sha's below from gitsubmodules
_jsonrpcpp_sha=115296b2232ba8776467d74602d392d03409ad7e
_popl_sha=0dc38f8bc30bec1946f7e3dbc5a2d37ad1edb93e
-pkgrel=1
+pkgrel=2
pkgdesc="Synchronous multi-room audio player"
url="https://github.com/badaix/snapcast"
arch="all"
@@ -14,7 +14,7 @@ depends="$pkgname-client $pkgname-server"
makedepends="asio-dev bash avahi-dev flac-dev
libvorbis-dev alsa-lib-dev
"
-install="$pkgname.pre-install"
+install="$pkgname-client.pre-install $pkgname-server.pre-install"
subpackages="$pkgname-doc $pkgname-client $pkgname-server"
source="snapcast-$pkgver.tar.gz::https://github.com/badaix/snapcast/archive/v$pkgver.tar.gz
jsonrpcpp-$_jsonrpcpp_sha.tar.gz::https://github.com/badaix/jsonrpcpp/archive/$_jsonrpcpp_sha.tar.gz
@@ -43,14 +43,12 @@ package() {
client() {
depends=
- install="$pkgname-client.pre-install"
mkdir -p "$subpkgdir"/usr/bin
install -Dm755 "$pkgdir"/usr/bin/snapclient "$subpkgdir"/usr/bin/snapclient
}
server() {
depends=
- install="$pkgname-server.pre-install"
mkdir -p "$subpkgdir"/usr/bin
install -Dm755 "$pkgdir"/usr/bin/snapserver "$subpkgdir"/usr/bin/snapserver
install -Dm755 "$subpkgname.initd" "$subpkgdir"/etc/init.d/"$subpkgname"