void-packages/srcpkgs/girara/template

37 lines
1.0 KiB
Bash
Raw Normal View History

2014-07-08 10:55:33 +02:00
# Template file for 'girara'
pkgname=girara
2015-04-14 18:33:14 +02:00
version=0.2.4
2015-06-06 21:14:56 +02:00
revision=2
2014-07-08 10:55:33 +02:00
build_style=gnu-makefile
# COLOR=0 to avoid "tput not found" spam in the build output
make_build_args="COLOR=0"
make_install_args="COLOR=0"
maintainer="Dominik Honnef <dominik@honnef.co>"
hostmakedepends="pkg-config intltool"
makedepends="gtk+3-devel libnotify-devel"
license="zlib"
homepage="http://pwmt.org/projects/girara/"
2015-04-14 18:33:14 +02:00
short_desc="A library implementing a user interface that focuses on minimalism"
2014-07-08 10:55:33 +02:00
distfiles="http://pwmt.org/projects/${pkgname}/download/${pkgname}-${version}.tar.gz"
2015-04-14 18:33:14 +02:00
checksum=2ee04e4c0e700d455ebaf92f804355f948754e7d3751d409db6595419e6ece5e
2014-07-08 10:55:33 +02:00
2015-06-06 21:14:56 +02:00
pre_build() {
sed -i 's/^\(CFLAGS *+=\)/override \1/' config.mk
sed -i 's/^\(LDFLAGS *+=\)/override \1/' config.mk
}
2014-07-08 10:55:33 +02:00
post_install() {
vlicense LICENSE
}
girara-devel_package() {
depends="${sourcepkg}>=${version}_${revision} ${makedepends}"
2014-07-08 10:55:33 +02:00
short_desc+=" - development files"
pkg_install() {
vmove usr/include
vmove "usr/lib/*.a"
vmove "usr/lib/*.so"
vmove usr/lib/pkgconfig
2014-07-08 10:55:33 +02:00
}
}