aboutsummaryrefslogtreecommitdiffstats
path: root/community/sassc/APKBUILD
blob: 340bb7ffeb67815df0ccfc8763d413a65115d6ed (plain) (blame)
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.4.8
pkgrel=1
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="ea62f1e0e9c03683a45522cfca0efdc25308f8dca56b86de0733c802268a9b9017ab7df7dbde8b3916b04ca662a96fc4a4984e02baa3b612dcfe4007743bc868  sassc-3.4.8.tar.gz"