From 2f1b228c40031f247c225aff8f32f84b0b2b23ef Mon Sep 17 00:00:00 2001 From: "A. Wilcox" Date: Mon, 28 Jan 2019 00:33:57 +0000 Subject: user/libsass: new package --- user/libsass/APKBUILD | 27 +++++++++++++++++++++++++++ 1 file changed, 27 insertions(+) create mode 100644 user/libsass/APKBUILD (limited to 'user/libsass') 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 +# Maintainer: A. Wilcox +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" -- cgit v1.2.3-70-g09d2