summaryrefslogblamecommitdiff
path: root/user/sassc/APKBUILD
blob: dcda892bb4540b30c475101ea3d22c4fee64d5e5 (plain) (tree)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
















                                                                                   
                                    























                                                                                                                                                                 
# Contributor: A. Wilcox <awilfox@adelielinux.org>
# Maintainer: A. Wilcox <awilfox@adelielinux.org>
pkgname=sassc
pkgver=3.5.0
pkgrel=0
pkgdesc="CSS preprocessor and extension language compiler"
url="http://sass-lang.com/"
arch="all"
license="MIT"
depends=""
makedepends="libsass-dev"
subpackages=""
source="sassc-$pkgver.tar.gz::https://github.com/sass/sassc/archive/$pkgver.tar.gz"

prepare() {
	cd "$builddir"
	default_prepare
	export SASSC_VERSION=$pkgver
	autoreconf --force --install
}

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

check() {
	cd "$builddir"
	make check
}

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

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