blob: ac0b293578a69578e62359c473e76a1f8cd60b3e (
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
|
# Maintainer: mcol <mcol at posteo dot net>
# PKGBUILD @ mcol.xyz/code/css-html-js-minify-git
pkgname=css-html-js-minify-git
pkgver=r339.8f72452
pkgrel=1
pkgdesc="StandAlone Async cross-platform Minifier for the Web."
url="https://github.com/juancarlospaco/css-html-js-minify"
arch=('any')
license=('GPL3')
source=("git+$url")
depends=()
makedepends=('git' 'python-setuptools')
optdepends=()
sha256sums=('SKIP')
provides=("css-html-js-minify")
pkgver() {
cd "${srcdir}/${pkgname%-git}"
printf "r%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)"
}
build() {
cd "${srcdir}/${pkgname%-git}"
python setup.py build
}
package() {
cd "${srcdir}/${pkgname%-git}"
python setup.py install --root="$pkgdir/" --optimize=1 --skip-build
}
|