diff options
author | Thomas Boerger <thomas@webhippie.de> | 2015-11-18 15:05:54 +0000 |
---|---|---|
committer | Natanael Copa <ncopa@alpinelinux.org> | 2015-11-18 15:11:29 +0000 |
commit | 1b7218fc790174223b097bc5ba1f86a2797e8933 (patch) | |
tree | 1de37afa1efe7f045320f35b4d19c1768694ca61 /testing/sassc | |
parent | 714376b3e6d5379056616d5a03807fa140243b61 (diff) | |
download | aports-1b7218fc790174223b097bc5ba1f86a2797e8933.tar.bz2 aports-1b7218fc790174223b097bc5ba1f86a2797e8933.tar.xz |
testing/sassc: new aport
https://github.com/sass/sassc
Libsass command line driver
Diffstat (limited to 'testing/sassc')
-rw-r--r-- | testing/sassc/APKBUILD | 46 |
1 files changed, 46 insertions, 0 deletions
diff --git a/testing/sassc/APKBUILD b/testing/sassc/APKBUILD new file mode 100644 index 0000000000..c33eed4bb4 --- /dev/null +++ b/testing/sassc/APKBUILD @@ -0,0 +1,46 @@ +# Maintainer: Thomas Boerger <thomas@webhippie.de> +pkgname=sassc +pkgver=3.3.2 +pkgrel=0 +pkgdesc="Libsass command line driver" +url="https://github.com/sass/sassc" +arch="all" +license="MIT" +depends="" +depends_dev="" +makedepends="$depends_dev libsass-dev autoconf automake libtool" +install="" +subpackages="" +source="${pkgname}-${pkgver}.tar.gz::https://github.com/sass/sassc/archive/$pkgver.tar.gz" + +_builddir="$srcdir"/$pkgname-$pkgver + +prepare() { + cd "$_builddir" + for i in $source; do + case $i in + *.patch) msg $i; patch -s -p1 -i "$srcdir"/$i || return 1;; + esac + done + autoreconf -vif +} + +build() { + cd "$_builddir" + ./configure \ + --build=$CBUILD \ + --host=$CHOST \ + --prefix=/usr \ + --disable-static \ + || return 1 + make || return 1 +} + +package() { + cd "$_builddir" + make DESTDIR="$pkgdir" install || return 1 +} + +md5sums="551a5fe1ed415a0443d3a7ffb49631e8 sassc-3.3.2.tar.gz" +sha256sums="15a2b2698639dfdc7bd6a5ba7a9ecdaf8ebb9f15503fb04dea1be3133308e41d sassc-3.3.2.tar.gz" +sha512sums="645125e3d8a481842f42c955fef77cb0eabe9b019abb905bb3c4a7db7d7911cb0911cc07a1a6c933fba143042a305cb3ff283d280253c9db4127cd15ac38a96f sassc-3.3.2.tar.gz" |