diff options
author | A. Wilcox <AWilcox@Wilcox-Tech.com> | 2019-12-21 01:25:05 +0000 |
---|---|---|
committer | A. Wilcox <AWilcox@Wilcox-Tech.com> | 2019-12-21 01:25:05 +0000 |
commit | 3ea118af1cd765fc11767538a4724bfa88ee4d14 (patch) | |
tree | 20ca87504ef803f47ef99f09347d6d3575a022f8 /system/utmps | |
parent | e64e8125463de387720322e2fc84e2943811dfdf (diff) | |
download | packages-3ea118af1cd765fc11767538a4724bfa88ee4d14.tar.gz packages-3ea118af1cd765fc11767538a4724bfa88ee4d14.tar.bz2 packages-3ea118af1cd765fc11767538a4724bfa88ee4d14.tar.xz packages-3ea118af1cd765fc11767538a4724bfa88ee4d14.zip |
system/the rest: modernise, fix metadata
Diffstat (limited to 'system/utmps')
-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" |