diff options
Diffstat (limited to 'system/utmps/APKBUILD')
-rw-r--r-- | system/utmps/APKBUILD | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/system/utmps/APKBUILD b/system/utmps/APKBUILD index c96899720..eef50c1d8 100644 --- a/system/utmps/APKBUILD +++ b/system/utmps/APKBUILD @@ -18,7 +18,6 @@ source="https://skarnet.org/software/$pkgname/$pkgname-$pkgver.tar.gz wtmpd.run" build() { - cd "$builddir" ./configure \ --enable-shared \ --enable-static \ @@ -31,7 +30,6 @@ build() { } package() { - cd "$builddir" make DESTDIR="$pkgdir" install runimage="$pkgdir/etc/s6-linux-init/current/run-image" mkdir -p -m 0755 "$runimage/utmps" "$runimage/service/utmpd" "$runimage/service/wtmpd" @@ -55,6 +53,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/" } @@ -70,7 +69,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" |