From d1c3a105b83771bc47a568e58c960a979435e4d2 Mon Sep 17 00:00:00 2001 From: "A. Wilcox" Date: Sat, 21 Dec 2019 00:26:17 +0000 Subject: system/d*: modernise, fix metadata --- system/dash/APKBUILD | 7 ++----- system/db/APKBUILD | 7 +++---- system/debianutils/APKBUILD | 2 +- system/diffutils/APKBUILD | 6 ++++-- system/docbook-xml/APKBUILD | 4 ++-- system/docbook-xsl/APKBUILD | 1 - 6 files changed, 12 insertions(+), 15 deletions(-) (limited to 'system') diff --git a/system/dash/APKBUILD b/system/dash/APKBUILD index 5ad4f8f51..04b81b17f 100644 --- a/system/dash/APKBUILD +++ b/system/dash/APKBUILD @@ -7,12 +7,12 @@ pkgdesc="Small and fast POSIX-compliant shell" url="http://gondor.apana.org.au/~herbert/dash/" arch="all" license="GPL-2.0+" +depends="" +makedepends="" subpackages="$pkgname-binsh::noarch $pkgname-doc" source="http://gondor.apana.org.au/~herbert/$pkgname/files/$pkgname-$pkgver.tar.gz" build() { - cd "$builddir" - ./configure \ --build=$CBUILD \ --host=$CHOST \ @@ -24,14 +24,11 @@ build() { } check() { - cd "$builddir" make check ./src/dash -c 'echo ok' } package() { - cd "$builddir" - make DESTDIR="$pkgdir" install } diff --git a/system/db/APKBUILD b/system/db/APKBUILD index a9beb8acb..d00896e08 100644 --- a/system/db/APKBUILD +++ b/system/db/APKBUILD @@ -5,17 +5,16 @@ pkgrel=1 pkgdesc="The Berkeley DB embedded database system" url="https://www.oracle.com/technology/software/products/berkeley-db/index.html" arch="all" -license="Sleepycat AND BSD-3-Clause" options="!check" # "check target not available" -depends= -makedepends= +license="Sleepycat AND BSD-3-Clause" +depends="" +makedepends="" subpackages="$pkgname-dev $pkgname-doc $pkgname-utils $pkgname-c++:cxx" source="https://download.oracle.com/berkeley-db/db-$pkgver.tar.gz atomics.patch " prepare() { - cd "$builddir" update_config_sub default_prepare } diff --git a/system/debianutils/APKBUILD b/system/debianutils/APKBUILD index 5a6be29d4..a94fdb8ab 100644 --- a/system/debianutils/APKBUILD +++ b/system/debianutils/APKBUILD @@ -3,7 +3,7 @@ pkgname=debianutils pkgver=4.8.6.3 pkgrel=0 -pkgdesc="Useful utilities from Debian" +pkgdesc="Miscellaneous utilities from Debian" url="https://packages.qa.debian.org/d/debianutils.html" arch="all" options="!check" # No test suite. diff --git a/system/diffutils/APKBUILD b/system/diffutils/APKBUILD index b47acbe37..4200445ba 100644 --- a/system/diffutils/APKBUILD +++ b/system/diffutils/APKBUILD @@ -2,11 +2,13 @@ pkgname=diffutils pkgver=3.7 pkgrel=0 -pkgdesc="Show differences among files" -subpackages="$pkgname-doc $pkgname-lang" +pkgdesc="Utility programs used for creating patch files" url="https://www.gnu.org/software/diffutils/" arch="all" license="GPL-3.0+" +depends="" +makedepends="" +subpackages="$pkgname-doc $pkgname-lang" source="https://ftp.gnu.org/pub/gnu/$pkgname/$pkgname-$pkgver.tar.xz disable-mbrtowc-test.patch gnulib-tests-dont-require-gpg-passphrase.patch diff --git a/system/docbook-xml/APKBUILD b/system/docbook-xml/APKBUILD index 0e9c95a06..e00864991 100644 --- a/system/docbook-xml/APKBUILD +++ b/system/docbook-xml/APKBUILD @@ -9,7 +9,7 @@ arch="noarch" options="!check" # Just XML files license="MIT" depends="libxml2-utils" -makedepends= +makedepends="" install="$pkgname.post-install $pkgname.post-upgrade $pkgname.post-deinstall" source="http://www.docbook.org/xml/$pkgver/$pkgname-$pkgver.zip http://www.docbook.org/xml/4.4/$pkgname-4.4.zip @@ -19,7 +19,7 @@ source="http://www.docbook.org/xml/$pkgver/$pkgname-$pkgver.zip " unpack() { - # we unpack the zip's in subdirs in build() + # We unpack the ZIPs during build. : } diff --git a/system/docbook-xsl/APKBUILD b/system/docbook-xsl/APKBUILD index 11a858afa..26d3d1caa 100644 --- a/system/docbook-xsl/APKBUILD +++ b/system/docbook-xsl/APKBUILD @@ -20,7 +20,6 @@ source="http://downloads.sourceforge.net/sourceforge/docbook/$pkgname-$pkgver.ta " package() { - cd "$builddir" local _dest dir f _dest="$pkgdir"/usr/share/xml/docbook/xsl-stylesheets -- cgit v1.2.3-70-g09d2