summaryrefslogtreecommitdiff
path: root/testing/htmlmin/APKBUILD
blob: c955dc59d4c8fe05327d6fdfcedfd8762f493b5f (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
# Contributor: Iztok Fister, Jr. <iztok@iztok-jr-fister.eu>
# Maintainer: Iztok Fister, Jr. <iztok@iztok-jr-fister.eu>
pkgname=htmlmin
pkgver=0.1.12
pkgrel=2
pkgdesc="A configurable HTML Minifier with safety features"
options="!check" # no tests
url="https://github.com/mankyd/htmlmin"
arch="noarch"
license="BSD-3-Clause"
depends="python3"
makedepends="py3-setuptools"
source="$pkgname-$pkgver.tar.gz::https://files.pythonhosted.org/packages/source/h/htmlmin/htmlmin-$pkgver.tar.gz"

build() {
	python3 setup.py build
}

package() {
	python3 setup.py install --prefix=/usr --root="$pkgdir"
}

sha512sums="
5669327dc64d8d28accdfe0d9a222e723fccdc12b52e7f0315fb9caf958a734a0cf0514ad476cbd0b7d0f2d83514a207867127f135f5e51cfda9b15dbfe24b78  htmlmin-0.1.12.tar.gz
"