diff options
Diffstat (limited to 'system/skalibs')
-rw-r--r-- | system/skalibs/APKBUILD | 9 |
1 files changed, 4 insertions, 5 deletions
diff --git a/system/skalibs/APKBUILD b/system/skalibs/APKBUILD index 0001ff676..2ec93cd17 100644 --- a/system/skalibs/APKBUILD +++ b/system/skalibs/APKBUILD @@ -12,7 +12,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 \ @@ -21,14 +20,13 @@ build() { } package() { - cd "$builddir" make DESTDIR="$pkgdir" install } libs() { pkgdesc="$pkgdesc (shared libraries)" - depends= + depends="" mkdir -p "$subpkgdir/lib" mv "$pkgdir"/lib/*.so.* "$subpkgdir/lib/" } @@ -36,7 +34,8 @@ libs() { dev() { pkgdesc="$pkgdesc (development files)" - depends= + depends="" + install_if="dev $pkgname=$pkgver-r$pkgrel" mkdir -p "$subpkgdir" mv "$pkgdir/usr" "$subpkgdir/" } @@ -52,7 +51,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" |