summaryrefslogtreecommitdiff
path: root/user/libsass/APKBUILD
blob: b965673405e4f6d87751598af77f458ee77ddc69 (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
28
29
# 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=""
# There is no .so symlink in the -dev package.
depends_dev="$pkgname=$pkgver-r$pkgrel"
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"