summaryrefslogtreecommitdiff
path: root/user/libsass/APKBUILD
blob: 36e5f8e653c422da239c4e492573eb751efd3394 (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.6.1
pkgrel=0
pkgdesc="Library for preprocessing CSS"
url="https://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() {
	make BUILD="shared"
}

package() {
	mkdir -p "$pkgdir"
	make BUILD="shared" PREFIX="/usr" DESTDIR="$pkgdir" install
}

sha512sums="e9a3a30851e26145d049c4b20951c663a9d48c781a732acd3cc2cdb30df3449e445b57211f666b58afa137431fbdb149add48ff8a0dec92bd8abb514c90adebb  libsass-3.6.1.tar.gz"