Commit fd36ddef authored by Francesco Colista's avatar Francesco Colista

main/ortp: clean up unused dir

parent 4167c41f
...@@ -10,7 +10,7 @@ arch="all" ...@@ -10,7 +10,7 @@ arch="all"
options="!check" #no test avail options="!check" #no test avail
license="LGPL-2.0-or-later VSL" license="LGPL-2.0-or-later VSL"
makedepends="cmake bctoolbox-dev" 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" source="$pkgname-$pkgver.tar.gz::https://www.linphone.org/releases/sources/ortp/$pkgname-$pkgver.tar.gz"
builddir="$srcdir/$pkgname-$_pkgver" builddir="$srcdir/$pkgname-$_pkgver"
...@@ -33,6 +33,10 @@ dev() { ...@@ -33,6 +33,10 @@ dev() {
default_dev default_dev
mkdir -p "$subpkgdir"/usr/lib/cmake/oRTP mkdir -p "$subpkgdir"/usr/lib/cmake/oRTP
mv "$pkgdir"/usr/share/oRTP/cmake/* "$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" sha512sums="653f0a607ff8a3d44a81ff73840ffe121140d04288965f18e8e9dc1d09c28eb86cf8efef3b2bbbdff0e76299a2cf87a28d8028a70bf1918616fb10c61d77f95e ortp-1.0.2.tar.gz"
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment