blob: 0ee02d4c4d33514a6864e539f44f3766908119f4 (
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
|
# Maintainer:
# Contributor: Bartłomiej Piotrowski <bpiotrowski@alpinelinux.org>
pkgname=tidyhtml
pkgver=1.46
pkgrel=0
pkgdesc='Tool to tidy down your HTML code to a clean style'
arch=all
url='http://tidy.sourceforge.net/'
license='custom'
depends=
makedepends='libtool autoconf automake'
subpackages="$pkgname-dev"
source="ftp://ftp.archlinux.org/other/$pkgname/${pkgname}-${pkgver}.tar.bz2"
build(){
cd "$srcdir"/$pkgname-$pkgver/tidy
source build/gnuauto/setup.sh || return 1
./configure --prefix=/usr || return 1
make || return 1
}
package() {
cd "$srcdir"/$pkgname-$pkgver/tidy
make DESTDIR="$pkgdir" install || return 1
find "$pkgdir" -name \*.la -delete
install -Dm644 htmldoc/license.html \
"$pkgdir"/usr/share/licenses/$pkgname/LICENSE
}
md5sums="3d970d54be83c5ec985687e9976a2832 tidyhtml-1.46.tar.bz2"
sha256sums="0555085b98238b7c36c5536a5c71b949fef3b58250b12cc51e5713a662aba7fe tidyhtml-1.46.tar.bz2"
sha512sums="8d27180af680a1f7a63348b4fcd97fb9d3cf441a4ffb2e6eafc28abcc8e0cdb46f2b9bd234e47bce96a617eaac2227a33618f9e58be6e54badf1285cfda5e593 tidyhtml-1.46.tar.bz2"
|