aboutsummaryrefslogtreecommitdiffstats
path: root/community/libsass/APKBUILD
blob: 5779fa869659e8824b5a1e7c9137683f8f13be7e (plain)
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
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
# Contributor: Thomas Boerger <thomas@webhippie.de>
pkgname=libsass
pkgver=3.6.3
pkgrel=1
pkgdesc="C/C++ implementation of a Sass compiler"
options="!check" # No tests are run when make check is run
url="https://sass-lang.com/libsass"
arch="all"
license="MIT"
makedepends="autoconf automake libtool"
subpackages="$pkgname-dev"
source="$pkgname-$pkgver.tar.gz::https://github.com/sass/libsass/archive/$pkgver.tar.gz
	fix-pkgconfig-version.patch
	"

prepare() {
	default_prepare
	autoreconf -vif
}

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

package() {
	make install DESTDIR="$pkgdir"
	rm -f "$pkgdir"/usr/lib/*.la
}

sha512sums="e290f2045784ba1cf84e87e5bd33129b5452fec1d25da657b084b3561ec76df195a75595248a493dbd85c6a1215ed600332477945922309c021d9e416ebb29ee  libsass-3.6.3.tar.gz
c5dc711ea64a5dea2505b467ba3a6fa34064ec1e83be29e445f6b47aa8f32ffd7f861800bae213cfef60c5bb1c89f303cf3e1edf818369e222a6d2edc458c721  fix-pkgconfig-version.patch"