diff --git a/srcpkgs/libsass-devel b/srcpkgs/libsass-devel new file mode 120000 index 00000000000..47bceb7b755 --- /dev/null +++ b/srcpkgs/libsass-devel @@ -0,0 +1 @@ +libsass \ No newline at end of file diff --git a/srcpkgs/libsass/template b/srcpkgs/libsass/template new file mode 100644 index 00000000000..d65c487fea7 --- /dev/null +++ b/srcpkgs/libsass/template @@ -0,0 +1,32 @@ +# Template file for 'libsass' +pkgname=libsass +version=3.3.6 +revision=1 +build_style=gnu-configure +hostmakedepends="automake libtool" +short_desc="C implementation of Sass CSS preprocessor" +maintainer="Gerardo Di Iorio " +homepage="http://libsass.org/" +license="MIT" +distfiles="https://github.com/sass/${pkgname}/archive/${version}.tar.gz" +checksum=4b004b0fcef55420dc916216b1961e0d86925e6bf4a6be37d0b6db42f7f25da5 + +pre_configure() { + autoreconf -i +} + + +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 + } +}