aboutsummaryrefslogtreecommitdiffstats
path: root/community/libsass/APKBUILD
blob: 7fcd16debf38b10c47fc7b36ffb8b86e5f8d37ba (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
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
# Contributor: Thomas Boerger <thomas@webhippie.de>
pkgname=libsass
pkgver=3.6.3
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"

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"