summaryrefslogtreecommitdiff
path: root/user/sassc/APKBUILD
blob: 78735ee0f0d08d515def5083a04d085d128a35ba (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
30
31
32
33
34
35
36
37
38
# Contributor: A. Wilcox <awilfox@adelielinux.org>
# Maintainer: A. Wilcox <awilfox@adelielinux.org>
pkgname=sassc
pkgver=3.6.0
pkgrel=0
pkgdesc="CSS preprocessor and extension language compiler"
url="https://sass-lang.com/"
arch="all"
license="MIT"
depends=""
makedepends="libsass-dev"
subpackages=""
source="sassc-$pkgver.tar.gz::https://github.com/sass/sassc/archive/$pkgver.tar.gz"

prepare() {
	default_prepare
	export SASSC_VERSION=$pkgver
	autoreconf --force --install
}

build() {
	./configure \
		--build=$CBUILD \
		--host=$CHOST \
		--prefix=/usr \
		--enable-shared
	make
}

check() {
	make check
}

package() {
	make DESTDIR="$pkgdir" install
}

sha512sums="0d8de651b1587f4994a5da85ad09ec2ce6e240213dbaa567c6b9baa612fe82e337061d9a5a8a3a5588e4c366c1178b6fd04e9d699a0be3d83c68f98bac774527  sassc-3.6.0.tar.gz"