aboutsummaryrefslogtreecommitdiffstats
path: root/testing
diff options
context:
space:
mode:
authorSören Tempel <soeren+git@soeren-tempel.net>2015-11-22 03:19:00 +0100
committerSören Tempel <soeren+git@soeren-tempel.net>2015-11-22 03:19:00 +0100
commitf46dcb42265a1385184d63c5535215568f970308 (patch)
treefd7b0ca54c63d713eba62ee68ac2fb8b11493086 /testing
parent86170e4b5aecf2736f05dc00592eefcbd633f021 (diff)
downloadaports-f46dcb42265a1385184d63c5535215568f970308.tar.bz2
aports-f46dcb42265a1385184d63c5535215568f970308.tar.xz
testing/rsound: install additional documentation
Diffstat (limited to 'testing')
-rw-r--r--testing/rsound/APKBUILD8
1 files changed, 7 insertions, 1 deletions
diff --git a/testing/rsound/APKBUILD b/testing/rsound/APKBUILD
index 74193b54b4..e05889f8af 100644
--- a/testing/rsound/APKBUILD
+++ b/testing/rsound/APKBUILD
@@ -3,7 +3,7 @@
pkgname=rsound
_realname=RSound
pkgver=1.1
-pkgrel=0
+pkgrel=1
pkgdesc="A multi-platform, simple PCM audio server and client"
url="https://github.com/Themaister/RSound"
arch="all"
@@ -23,9 +23,15 @@ build() {
}
package() {
+ # The rsound install rule doesn't create non-existent directories.
mkdir -p "$pkgdir"/usr/lib "$pkgdir"/usr/share/man/man1 \
"$pkgdir"/usr/lib/pkgconfig
+
make DESTDIR="$pkgdir" -C "$_builddir" install || return 1
+ for doc in DOCUMENTATION ChangeLog AUTHORS INSTALL README; do
+ install -Dm644 "$_builddir"/$doc \
+ "$pkgdir"/usr/share/doc/$pkgname/$doc || return 1
+ done
}
md5sums="d416ecd6d1ca39af78c7626ed1b3833e rsound-1.1.tar.gz"