aboutsummaryrefslogtreecommitdiffstats
path: root/community/uglifycss/APKBUILD
blob: 80780612380fe367a00dba39de0dbf15bc7d5505 (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
# Contributor: Kevin Daudt <kdaudt@alpinelinux.org>
# Maintainer: Kevin Daudt <kdaudt@alpinelinux.org>
pkgname="uglifycss"
pkgver="0.0.29"
pkgrel=0
pkgdesc="Port of YUI CSS Compressor from Java to NodeJS"
url="http://github.com/fmarcia/UglifyCSS"
arch="noarch !mips !mips64" # blocked by nodejs
license="MIT"
depends="nodejs"
makedepends="npm"
source="https://registry.npmjs.org/uglifycss/-/uglifycss-$pkgver.tgz"
options="!check"
builddir="$srcdir/package"

unpack() {
	# skipping unpacking, installing archive directly
	verify
}

package() {
	npm install -g --user root --prefix "$pkgdir/usr" "$srcdir/uglifycss-$pkgver.tgz"
	chown -R root: "$pkgdir"
}

sha512sums="276490d902e38a49cd19b35d49c68d66c5e098c188d2460dad768396be286e73d6f678b58e58dbd4d7845560224e067ccfe10158fda8cdf4fdbe9cb4deb8e531  uglifycss-0.0.29.tgz"