aboutsummaryrefslogtreecommitdiffstats
path: root/community/sassc/APKBUILD
blob: 6482fae35968ee38018567b9d31215d65c18cf49 (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
# Maintainer: Thomas Boerger <thomas@webhippie.de>
pkgname=sassc
pkgver=3.5.0
pkgrel=0
pkgdesc="Libsass command line driver"
url="https://github.com/sass/sassc"
arch="all"
license="MIT"
makedepends="libsass-dev autoconf automake libtool"
source="$pkgname-$pkgver.tar.gz::https://github.com/sass/$pkgname/archive/$pkgver.tar.gz"
builddir="$srcdir/$pkgname-$pkgver"

prepare() {
	default_prepare

	cd "$builddir"
	autoreconf -vif
}

build() {
	cd "$builddir"
	./configure \
		--build=$CBUILD \
		--host=$CHOST \
		--prefix=/usr \
		--disable-static
	make
}

check() {
	cd "$builddir"
	./sassc --help > /dev/null
}

package() {
	cd "$builddir"
	make DESTDIR="$pkgdir" install
}

sha512sums="9c94056f66688016dd8eaae9cc791be4b397406b89f1289946c4481b5e1904486878d22fd65e695ed89f9b41a9f902932eb4074e7b0923ce3d4823ea3140334f  sassc-3.5.0.tar.gz"