summaryrefslogblamecommitdiff
path: root/user/sassc/APKBUILD
blob: cf916c423fe917453088d4aa28852823c1695778 (plain) (tree)








































                                                                                                                                                                 
# 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
	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"