summaryrefslogtreecommitdiff
path: root/user/sassc/APKBUILD
diff options
context:
space:
mode:
authorA. Wilcox <AWilcox@Wilcox-Tech.com>2019-01-28 00:42:45 +0000
committerA. Wilcox <AWilcox@Wilcox-Tech.com>2019-01-28 00:42:45 +0000
commit7775036e507ed347f11049eb0e634eb6a049d818 (patch)
tree81ad8567f6dcf6a73fc2dd37b2c4a1ab99ac5f61 /user/sassc/APKBUILD
parent3fc5a8d6a891a297702e91fdeee59190d6c2e029 (diff)
downloadpackages-7775036e507ed347f11049eb0e634eb6a049d818.tar.gz
packages-7775036e507ed347f11049eb0e634eb6a049d818.tar.bz2
packages-7775036e507ed347f11049eb0e634eb6a049d818.tar.xz
packages-7775036e507ed347f11049eb0e634eb6a049d818.zip
user/sassc: new package
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"