summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--user/s6-dns/APKBUILD37
1 files changed, 5 insertions, 32 deletions
diff --git a/user/s6-dns/APKBUILD b/user/s6-dns/APKBUILD
index afaf04e30..cd6c7cc03 100644
--- a/user/s6-dns/APKBUILD
+++ b/user/s6-dns/APKBUILD
@@ -2,7 +2,7 @@
# Maintainer: Laurent Bercot <ska-adelie@skarnet.org>
pkgname=s6-dns
pkgver=2.3.7.1
-pkgrel=0
+pkgrel=1
pkgdesc="skarnet.org's DNS client libraries and command-line DNS client utilities"
url="https://skarnet.org/software/s6-dns/"
arch="all"
@@ -10,8 +10,8 @@ options="!check"
license="ISC"
_skalibs_version=2.14
depends=""
-makedepends="skalibs-dev>=$_skalibs_version skalibs-libs-dev>=$_skalibs_version"
-subpackages="$pkgname-libs $pkgname-dev $pkgname-libs-dev:libsdev $pkgname-doc"
+makedepends="skalibs-dev>=$_skalibs_version"
+subpackages="$pkgname-dev $pkgname-libs $pkgname-doc"
source="https://skarnet.org/software/$pkgname/$pkgname-$pkgver.tar.gz"
build() {
@@ -28,35 +28,8 @@ build() {
package() {
make DESTDIR="$pkgdir" install
-}
-
-libs() {
- pkgdesc="$pkgdesc (shared libraries)"
- depends="skalibs-libs>=$_skalibs_version"
- mkdir -p "$subpkgdir/usr/lib"
- mv "$pkgdir"/usr/lib/*.so.* "$subpkgdir/usr/lib/"
-}
-
-dev() {
- pkgdesc="$pkgdesc (development files)"
- depends="skalibs-dev>=$_skalibs_version"
- install_if="dev $pkgname=$pkgver-r$pkgrel"
- mkdir -p "$subpkgdir/usr/include" "$subpkgdir/usr/lib"
- mv "$pkgdir/usr/include" "$subpkgdir/usr/"
- mv "$pkgdir"/usr/lib/*.a "$subpkgdir/usr/lib/"
-}
-
-libsdev() {
- pkgdesc="$pkgdesc (development files for dynamic linking)"
- depends="$pkgname-dev"
- mkdir -p "$subpkgdir/usr/lib"
- mv "$pkgdir"/usr/lib/*.so "$subpkgdir/usr/lib/"
-}
-
-doc() {
- default_doc
- 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="9dabee86d9a27fb0e4a3c10563694bb5734c08c4d730a69daec17dad140274aa104bd6edbd501261c7a7c7bcee505f79134b7119457d5fbedcbb2be6b352ebb0 s6-dns-2.3.7.1.tar.gz"