summaryrefslogtreecommitdiff
path: root/user/libsass
diff options
context:
space:
mode:
authorA. Wilcox <AWilcox@Wilcox-Tech.com>2019-01-28 00:33:57 +0000
committerA. Wilcox <AWilcox@Wilcox-Tech.com>2019-01-28 00:33:57 +0000
commit2f1b228c40031f247c225aff8f32f84b0b2b23ef (patch)
tree1ad9b81a0f90d18b67d79514e8830d2534fc8a2c /user/libsass
parent43a8c84d61c258fef3c0ea61c6d1ead88de7ad23 (diff)
downloadpackages-2f1b228c40031f247c225aff8f32f84b0b2b23ef.tar.gz
packages-2f1b228c40031f247c225aff8f32f84b0b2b23ef.tar.bz2
packages-2f1b228c40031f247c225aff8f32f84b0b2b23ef.tar.xz
packages-2f1b228c40031f247c225aff8f32f84b0b2b23ef.zip
user/libsass: new package
Diffstat (limited to 'user/libsass')
-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"