void-packages/srcpkgs/libsass/template
maxice8 15af7ee9f5 libsass: update to 3.5.2.
Closes: #12630 [via git-merge-pr]
2018-03-17 21:16:45 -07:00

31 lines
742 B
Bash

# Template file for 'libsass'
pkgname=libsass
version=3.5.2
revision=1
build_style=gnu-configure
hostmakedepends="automake libtool"
short_desc="C implementation of Sass CSS preprocessor"
maintainer="Gerardo Di Iorio <arete74@gmail.com>"
homepage="http://libsass.org/"
license="MIT"
distfiles="https://github.com/sass/${pkgname}/archive/${version}.tar.gz"
checksum=9914239d73fc0882f09e0d67e89260d661c3a76940550034722f492d178b57e2
pre_configure() {
NOCONFIGURE=1 autoreconf -fi
}
post_install() {
vlicense LICENSE
}
libsass-devel_package() {
depends="${sourcepkg}>=${version}_${revision}"
short_desc+=" - development files"
pkg_install() {
vmove usr/include
vmove "usr/lib/*.so"
vmove "usr/lib/*.a"
vmove usr/lib/pkgconfig
}
}