1
0
Fork 0
mirror of https://gitlab.alpinelinux.org/alpine/aports.git synced 2025-07-21 18:25:41 +03:00
aports/community/html-xml-utils/APKBUILD
2023-02-13 11:35:15 +01:00

42 lines
1.2 KiB
Text

# Contributor: Francesco Colista <fcolista@alpinelinux.org>
# Maintainer: Francesco Colista <fcolista@alpinelinux.org>
pkgname=html-xml-utils
pkgver=8.5
pkgrel=0
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
last-test.patch"
prepare() {
default_prepare
sed -e "/doc_DATA = COPYING/d" \
-i Makefile.in
}
build() {
./configure \
--prefix=/usr \
--disable-dependency-tracking
make
}
check() {
make check
}
package() {
make install DESTDIR="$pkgdir"
install -D -m 644 COPYING \
"$pkgdir"/usr/share/licenses/$pkgname/COPYING
}
sha512sums="
f1140a81e66cc2f46dd0507a8948b2c267230fa8aed3dc79e91eeb2b6bcfe7053378da9d35fd053f8a8bc25c46491388aa7fd519c7e1c7757e73a7e1b1c67d87 html-xml-utils-8.5.tar.gz
c6e3c91f4f4ad13e32209b8fd7038c98992ffdacd4995663d6942b2719e72458f1e18167b2ade60350064f0f39cd000c07856fb0b1e7393e5eaa3848214c6afd getopt-musl-fix.patch
fdfaa8ff145beaf98203f834ef51763d14f5eeb1ba366578a645bfc3a0d811c2615354bea987554d6a8b131504298512238af550646e2826e00329aceee365ed last-test.patch
"