blob: c5cf07902c36a70cf00f36763f696fe2e7cef55e (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
|
# Contributor: Francesco Colista <fcolista@alpinelinux.org>
# Maintainer: Francesco Colista <fcolista@alpinelinux.org>
pkgname=html-xml-utils
pkgver=7.7
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
last-test.patch"
builddir="$srcdir"/$pkgname-$pkgver
prepare() {
default_prepare
sed -e "/doc_DATA = COPYING/d" \
-i Makefile.in
}
build() {
cd "$builddir"
./configure \
--prefix=/usr \
--disable-dependency-tracking
make
}
check() {
cd "$builddir"
make check
}
package() {
cd "$builddir"
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
fdfaa8ff145beaf98203f834ef51763d14f5eeb1ba366578a645bfc3a0d811c2615354bea987554d6a8b131504298512238af550646e2826e00329aceee365ed last-test.patch"
|