diff options
author | A. Wilcox <AWilcox@Wilcox-Tech.com> | 2017-07-30 17:47:17 +0000 |
---|---|---|
committer | Timo Teräs <timo.teras@iki.fi> | 2017-08-28 08:40:39 +0000 |
commit | eb4fa917915c441e85e66c559e4713c8028533fa (patch) | |
tree | c03a26b5118f33e6babbf88da1f2a7495c402b6f /main/help2man/APKBUILD | |
parent | e379a85597bf8dea86d3e7e1fd928b5fe6273f7d (diff) | |
download | aports-eb4fa917915c441e85e66c559e4713c8028533fa.tar.bz2 aports-eb4fa917915c441e85e66c559e4713c8028533fa.tar.xz |
main/help2man: modernise, and mark as having no test suite
Diffstat (limited to 'main/help2man/APKBUILD')
-rw-r--r-- | main/help2man/APKBUILD | 27 |
1 files changed, 7 insertions, 20 deletions
diff --git a/main/help2man/APKBUILD b/main/help2man/APKBUILD index d8849779cf..a41f369f17 100644 --- a/main/help2man/APKBUILD +++ b/main/help2man/APKBUILD @@ -7,25 +7,13 @@ url="http://www.gnu.org/software/help2man" arch="noarch" license="GPLv3+" depends="perl" -depends_dev="" -makedepends="$depends_dev" -install="" +makedepends="" +options="!check" # No test suite subpackages="$pkgname-doc" source="ftp://ftp.gnu.org/gnu/help2man/help2man-$pkgver.tar.xz" -_builddir="$srcdir"/help2man-$pkgver -prepare() { - local i - cd "$_builddir" - for i in $source; do - case $i in - *.patch) msg $i; patch -p1 -i "$srcdir"/$i || return 1;; - esac - done -} - build() { - cd "$_builddir" + cd "$builddir" ./configure \ --build=$CBUILD \ --host=$CHOST \ @@ -33,14 +21,13 @@ build() { --sysconfdir=/etc \ --mandir=/usr/share/man \ --infodir=/usr/share/info \ - --localstatedir=/var \ - || return 1 - make || return 1 + --localstatedir=/var + make } package() { - cd "$_builddir" - make DESTDIR="$pkgdir" install || return 1 + cd "$builddir" + make DESTDIR="$pkgdir" install } sha512sums="3320890c4068086bff7a858653fb67ac80363f26772fb0bb702233052e2bcbe647e7b20b1a2246b1a0e026ba2aa8679e6baafe302d78c747da04e29c59b9bafd help2man-1.47.4.tar.xz" |