summaryrefslogtreecommitdiff
path: root/user/libsass/APKBUILD
blob: e6a0e891ab6d2a1be8ca5e10fc827ef59480bd2c (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.4
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="1f79553be31949d45adf440dcbcf4b828a7e4f71c6f63f288f99451fccc490ebf0c68c58d91deabede37962e35a8cf9af8b0d60d89349fd0adea1ac061c8c2c8  libsass-3.6.4.tar.gz"