summaryrefslogtreecommitdiff
path: root/user/sassc/APKBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'user/sassc/APKBUILD')
-rw-r--r--user/sassc/APKBUILD41
1 files changed, 41 insertions, 0 deletions
diff --git a/user/sassc/APKBUILD b/user/sassc/APKBUILD
new file mode 100644
index 000000000..cf916c423
--- /dev/null
+++ b/user/sassc/APKBUILD
@@ -0,0 +1,41 @@
+# 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"