summaryrefslogtreecommitdiff
path: root/user/libsass/APKBUILD
blob: 0b00282747d7da15ff022523ad75dabbe6f5ebac (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
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"