aboutsummaryrefslogtreecommitdiffstats
path: root/community/libsass/APKBUILD
blob: cdf9b94e7d45c986821a71a98d74d047b2b37060 (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.4
pkgrel=0
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="1f79553be31949d45adf440dcbcf4b828a7e4f71c6f63f288f99451fccc490ebf0c68c58d91deabede37962e35a8cf9af8b0d60d89349fd0adea1ac061c8c2c8  libsass-3.6.4.tar.gz
c5dc711ea64a5dea2505b467ba3a6fa34064ec1e83be29e445f6b47aa8f32ffd7f861800bae213cfef60c5bb1c89f303cf3e1edf818369e222a6d2edc458c721  fix-pkgconfig-version.patch"