void-packages/srcpkgs/girara/template

41 lines
1.1 KiB
Bash
Raw Normal View History

2014-07-08 08:55:33 +00:00
# Template file for 'girara'
pkgname=girara
2017-12-23 00:21:28 +00:00
version=0.2.8
2017-01-12 14:52:36 +00:00
revision=1
2014-07-08 08:55:33 +00: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"
2016-08-13 15:04:40 +00:00
maintainer="lemmi <lemmi@nerd2nerd.org>"
2014-07-08 08:55:33 +00:00
hostmakedepends="pkg-config intltool"
2017-12-23 00:21:28 +00:00
makedepends="gtk+3-devel libnotify-devel glib-devel"
2014-07-08 08:55:33 +00:00
license="zlib"
homepage="http://pwmt.org/projects/girara/"
2015-04-14 16:33:14 +00:00
short_desc="A library implementing a user interface that focuses on minimalism"
2014-07-08 08:55:33 +00:00
distfiles="http://pwmt.org/projects/${pkgname}/download/${pkgname}-${version}.tar.gz"
2017-12-23 00:21:28 +00:00
checksum=285905e35375ecbdfe418c6b7735e373d780f76a5b6c90c08db28da9f4d09aa3
if [ "$CROSS_BUILD" ]; then
hostmakedepends+=" glib-devel"
fi
2014-07-08 08:55:33 +00:00
2015-06-06 19:14:56 +00:00
pre_build() {
sed -i 's/^\(CFLAGS *+=\)/override \1/' config.mk
sed -i 's/^\(LDFLAGS *+=\)/override \1/' config.mk
}
2014-07-08 08:55:33 +00:00
post_install() {
vlicense LICENSE
}
girara-devel_package() {
depends="${sourcepkg}>=${version}_${revision} ${makedepends}"
2014-07-08 08:55:33 +00: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 08:55:33 +00:00
}
}