aboutsummaryrefslogtreecommitdiffstats
path: root/community/sassc/APKBUILD
blob: 0e3695afc9f07f953b30d8b357774f9e36de89e4 (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
# Maintainer: Thomas Boerger <thomas@webhippie.de>
pkgname=sassc
pkgver=3.4.2
pkgrel=0
pkgdesc="Libsass command line driver"
url="https://github.com/sass/sassc"
arch="all"
license="MIT"
depends=""
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 || return 1

	cd "$builddir"
	autoreconf -vif
}

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

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

sha512sums="5be67e2d2b36f17df8d448867b545b1220ee25ad3fff45d5c55e1d8fec9e85653fff30f8c22c5ffa994b6920e237959b1ff5cfbc44dae03f7dc2c0e807114215  sassc-3.4.2.tar.gz"