diff options
author | Laurent Bercot <ska-adelie@skarnet.org> | 2024-04-15 17:41:24 +0000 |
---|---|---|
committer | Zach van Rijn <me@zv.io> | 2024-04-25 02:48:27 +0000 |
commit | 7933effdb0eff6a52fcf574e8f53b54d717a3803 (patch) | |
tree | 3306b9775650da47ac3a92ce1ebd7a1f8cd453dc /user/s6-portable-utils | |
parent | e0ff0c85c2b776737d66506d309583b1a8fbd1b9 (diff) | |
download | packages-7933effdb0eff6a52fcf574e8f53b54d717a3803.tar.gz packages-7933effdb0eff6a52fcf574e8f53b54d717a3803.tar.bz2 packages-7933effdb0eff6a52fcf574e8f53b54d717a3803.tar.xz packages-7933effdb0eff6a52fcf574e8f53b54d717a3803.zip |
user/s6-portable-utils: simplify APKBUILD
Diffstat (limited to 'user/s6-portable-utils')
-rw-r--r-- | user/s6-portable-utils/APKBUILD | 13 |
1 files changed, 4 insertions, 9 deletions
diff --git a/user/s6-portable-utils/APKBUILD b/user/s6-portable-utils/APKBUILD index 18fb731f3..0a4386fe4 100644 --- a/user/s6-portable-utils/APKBUILD +++ b/user/s6-portable-utils/APKBUILD @@ -2,7 +2,7 @@ # Maintainer: Laurent Bercot <ska-adelie@skarnet.org> pkgname=s6-portable-utils pkgver=2.3.0.3 -pkgrel=0 +pkgrel=1 pkgdesc="skarnet.org's portable miscellaneous utilities" url="https://skarnet.org/software/s6-portable-utils/" arch="all" @@ -10,7 +10,7 @@ options="!check" license="ISC" _skalibs_version=2.14 depends="" -makedepends="skalibs-dev>=$_skalibs_version skalibs-libs-dev>=$_skalibs_version" +makedepends="skalibs-dev>=$_skalibs_version" subpackages="$pkgname-doc" source="https://skarnet.org/software/$pkgname/$pkgname-$pkgver.tar.gz" @@ -24,13 +24,8 @@ build() { package() { make DESTDIR="$pkgdir" install -} - -doc() { - pkgdesc="$pkgdesc (documentation)" - install_if="docs $pkgname=$pkgver-r$pkgrel" - mkdir -p "$subpkgdir/usr/share/doc" - cp -a "$builddir/doc" "$subpkgdir/usr/share/doc/$pkgname" + mkdir -p -m 0755 "$pkgdir/usr/share/doc" + cp -a "$builddir/doc" "$pkgdir/usr/share/doc/$pkgname" } sha512sums="f75242ac6c06ffd5bd66b8a35bbdf39938cf3bfa6e79abd214af37e9e4acc732ca1760566862482bc964a5cca05bbce8bd24d7167b02dc66c5f397c85ee0d37f s6-portable-utils-2.3.0.3.tar.gz" |