aboutsummaryrefslogtreecommitdiffstats
path: root/main/ortp
diff options
context:
space:
mode:
authorFrancesco Colista <fcolista@alpinelinux.org>2019-07-03 08:21:46 +0000
committerFrancesco Colista <fcolista@alpinelinux.org>2019-07-03 08:21:46 +0000
commitfd36ddefb27a50536fc8cfa7443f75cc03379566 (patch)
treeb0ef812abc8a20fe2321fa86fa6da439e88fe439 /main/ortp
parent4167c41f56d014eda236d3c91166abf7e0933aa8 (diff)
downloadaports-fd36ddefb27a50536fc8cfa7443f75cc03379566.tar.bz2
aports-fd36ddefb27a50536fc8cfa7443f75cc03379566.tar.xz
main/ortp: clean up unused dir
Diffstat (limited to 'main/ortp')
-rw-r--r--main/ortp/APKBUILD6
1 files changed, 5 insertions, 1 deletions
diff --git a/main/ortp/APKBUILD b/main/ortp/APKBUILD
index bf5059648b..38419913bf 100644
--- a/main/ortp/APKBUILD
+++ b/main/ortp/APKBUILD
@@ -10,7 +10,7 @@ arch="all"
options="!check" #no test avail
license="LGPL-2.0-or-later VSL"
makedepends="cmake bctoolbox-dev"
-subpackages="$pkgname-dev $pkgname-doc"
+subpackages="$pkgname-doc $pkgname-dev"
source="$pkgname-$pkgver.tar.gz::https://www.linphone.org/releases/sources/ortp/$pkgname-$pkgver.tar.gz"
builddir="$srcdir/$pkgname-$_pkgver"
@@ -33,6 +33,10 @@ dev() {
default_dev
mkdir -p "$subpkgdir"/usr/lib/cmake/oRTP
mv "$pkgdir"/usr/share/oRTP/cmake/* "$subpkgdir"/usr/lib/cmake/oRTP
+ # Remove empty dirs
+ rmdir "$pkgdir"/usr/share/oRTP/cmake
+ rmdir "$pkgdir"/usr/share/oRTP
+ rmdir "$pkgdir"/usr/share
}
sha512sums="653f0a607ff8a3d44a81ff73840ffe121140d04288965f18e8e9dc1d09c28eb86cf8efef3b2bbbdff0e76299a2cf87a28d8028a70bf1918616fb10c61d77f95e ortp-1.0.2.tar.gz"