diff options
author | Francesco Colista <fcolista@alpinelinux.org> | 2018-04-30 03:45:22 +0000 |
---|---|---|
committer | Francesco Colista <fcolista@alpinelinux.org> | 2018-04-30 03:45:22 +0000 |
commit | bf74a0a70ee534469dd0b9f917d7610ac65d8db6 (patch) | |
tree | 3323049d87a936c99d9ce13827b4faf7c66c22b5 /community/html-xml-utils/APKBUILD | |
parent | 42355ef393b50dbd46b7d4728b7ce350be327335 (diff) | |
download | aports-bf74a0a70ee534469dd0b9f917d7610ac65d8db6.tar.bz2 aports-bf74a0a70ee534469dd0b9f917d7610ac65d8db6.tar.xz |
community/html-xml-utils: fixed last test, updated APKBUILD
Diffstat (limited to 'community/html-xml-utils/APKBUILD')
-rw-r--r-- | community/html-xml-utils/APKBUILD | 38 |
1 files changed, 18 insertions, 20 deletions
diff --git a/community/html-xml-utils/APKBUILD b/community/html-xml-utils/APKBUILD index 97de0e0a4f..c5cf07902c 100644 --- a/community/html-xml-utils/APKBUILD +++ b/community/html-xml-utils/APKBUILD @@ -2,46 +2,44 @@ # Maintainer: Francesco Colista <fcolista@alpinelinux.org> pkgname=html-xml-utils pkgver=7.7 -pkgrel=0 +pkgrel=1 pkgdesc="A number of simple utilities for manipulating HTML and XML files." url="https://www.w3.org/Tools/HTML-XML-utils/" arch="all" license="Custom" subpackages="$pkgname-doc" source="$url/$pkgname-$pkgver.tar.gz - getopt-musl-fix.patch" + getopt-musl-fix.patch + last-test.patch" builddir="$srcdir"/$pkgname-$pkgver prepare() { - default_prepare || return 1 - sed \ - -e "/doc_DATA = COPYING/d" \ - -i Makefile.in \ - || return 1 + default_prepare + sed -e "/doc_DATA = COPYING/d" \ + -i Makefile.in } build() { cd "$builddir" ./configure \ - --prefix=/usr \ - --disable-dependency-tracking \ - || return 1 + --prefix=/usr \ + --disable-dependency-tracking + make +} - make \ - || return 1 +check() { + cd "$builddir" + make check } package() { cd "$builddir" - make install \ - DESTDIR="$pkgdir" \ - || return 1 - install -D -m 644 \ - COPYING \ - "$pkgdir"/usr/share/licenses/$pkgname/COPYING \ - || return 1 + make install DESTDIR="$pkgdir" + install -D -m 644 COPYING \ + "$pkgdir"/usr/share/licenses/$pkgname/COPYING } sha512sums="72b71982717de11b3b5f601a157a04bb6ecc235db6810a0dd830ad7682ed16cd6a928730013cfc918f722e1e5f03c357cd2545806288986797230f9d04175460 html-xml-utils-7.7.tar.gz -7b6d03798e634a72402916cdfaf69668bf19d0dc6d629860c798a6468f8077906e3ada6d1ff390cebba505ccd118cfa7f7b2e23301ac72573bde4b4eb14c94ce getopt-musl-fix.patch" +7b6d03798e634a72402916cdfaf69668bf19d0dc6d629860c798a6468f8077906e3ada6d1ff390cebba505ccd118cfa7f7b2e23301ac72573bde4b4eb14c94ce getopt-musl-fix.patch +fdfaa8ff145beaf98203f834ef51763d14f5eeb1ba366578a645bfc3a0d811c2615354bea987554d6a8b131504298512238af550646e2826e00329aceee365ed last-test.patch" |