summaryrefslogtreecommitdiff
path: root/user
diff options
context:
space:
mode:
Diffstat (limited to 'user')
-rw-r--r--user/libsass/APKBUILD27
1 files changed, 27 insertions, 0 deletions
diff --git a/user/libsass/APKBUILD b/user/libsass/APKBUILD
new file mode 100644
index 000000000..0b0028274
--- /dev/null
+++ b/user/libsass/APKBUILD
@@ -0,0 +1,27 @@
+# Contributor: A. Wilcox <awilfox@adelielinux.org>
+# Maintainer: A. Wilcox <awilfox@adelielinux.org>
+pkgname=libsass
+pkgver=3.5.5
+pkgrel=0
+pkgdesc="Library for preprocessing CSS"
+url="http://sass-lang.com/libsass"
+arch="all"
+options="!check" # Tests require sassc, which requires this library.
+license="MIT"
+depends=""
+makedepends=""
+subpackages="$pkgname-dev"
+source="libsass-$pkgver.tar.gz::https://github.com/sass/libsass/archive/$pkgver.tar.gz"
+
+build() {
+ cd "$builddir"
+ make BUILD="shared"
+}
+
+package() {
+ cd "$builddir"
+ mkdir -p "$pkgdir"
+ make BUILD="shared" PREFIX="/usr" DESTDIR="$pkgdir" install
+}
+
+sha512sums="dcb73a5080c00023b60a19ea037ba5af481253a7b47492bd7114bf45ab78ed931c7b207fa8f12ed200a39760553d72ae92dbe4eb80b826b59a6201fb34008fe5 libsass-3.5.5.tar.gz"