summaryrefslogtreecommitdiff
path: root/system/utmps
diff options
context:
space:
mode:
authorA. Wilcox <AWilcox@Wilcox-Tech.com>2019-12-21 01:25:05 +0000
committerA. Wilcox <AWilcox@Wilcox-Tech.com>2019-12-21 01:25:05 +0000
commit3ea118af1cd765fc11767538a4724bfa88ee4d14 (patch)
tree20ca87504ef803f47ef99f09347d6d3575a022f8 /system/utmps
parente64e8125463de387720322e2fc84e2943811dfdf (diff)
downloadpackages-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/APKBUILD5
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"