diff options
Diffstat (limited to 'system/execline/APKBUILD')
-rw-r--r-- | system/execline/APKBUILD | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/system/execline/APKBUILD b/system/execline/APKBUILD index 836b9c392..3e903ee56 100644 --- a/system/execline/APKBUILD +++ b/system/execline/APKBUILD @@ -14,7 +14,6 @@ subpackages="$pkgname-libs $pkgname-dev $pkgname-libs-dev:libsdev $pkgname-doc" source="https://skarnet.org/software/$pkgname/$pkgname-$pkgver.tar.gz" build() { - cd "$builddir" ./configure \ --enable-shared \ --enable-static \ @@ -26,11 +25,9 @@ build() { } package() { - cd "$builddir" make DESTDIR="$pkgdir" install } - libs() { pkgdesc="$pkgdesc (shared libraries)" depends="skalibs-libs>=$_skalibs_version" @@ -42,6 +39,7 @@ libs() { dev() { pkgdesc="$pkgdesc (development files)" depends="skalibs-dev>=$_skalibs_version" + install_if="dev $pkgname=$pkgver-r$pkgrel" mkdir -p "$subpkgdir/usr" mv "$pkgdir/usr/lib" "$pkgdir/usr/include" "$subpkgdir/usr/" } @@ -57,7 +55,7 @@ libsdev() { doc() { pkgdesc="$pkgdesc (documentation)" - depends= + depends="" install_if="docs $pkgname=$pkgver-r$pkgrel" mkdir -p "$subpkgdir/usr/share/doc" cp -a "$builddir/doc" "$subpkgdir/usr/share/doc/$pkgname" |