aboutsummaryrefslogtreecommitdiffstats
path: root/community/libsass/APKBUILD
blob: d98e95948d1bbe8f1dac648c6d4aee9fab1848b5 (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
38
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
# Contributor: Thomas Boerger <thomas@webhippie.de>
pkgname=libsass
pkgver=3.6.2
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-extend-issue-being-stuck-in-endless-loop.patch
	fix-trim-loop-condition-and-outer-continue.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="b1ee92de64f4eeabe2d4bfc693349ac124a81115554228669526e863d18f3c67ab44698414cf204f545eb4a4126ca350a1c7f7658e9ebac447f8b2e7533d9772  libsass-3.6.2.tar.gz
e4684766f05cabe7ed360b7c1b0ed282d7f19223c3667e10b4a204492fadf21ed91289f9876ae7fa30c124c3edd73e117418329a2dd30b4d830657dba1193008  fix-extend-issue-being-stuck-in-endless-loop.patch
f2fe27d12cf9250024481e6de3a532a64d1d08931c34138a05411bfefc44937a1917e4fc61aa33cbb5e92d369baed3ae46b7d2a4905be1aad1294021c6c07e26  fix-trim-loop-condition-and-outer-continue.patch"