void-packages/srcpkgs/girara/template
2017-01-12 15:52:36 +01:00

36 lines
1 KiB
Bash

# Template file for 'girara'
pkgname=girara
version=0.2.7
revision=1
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="lemmi <lemmi@nerd2nerd.org>"
hostmakedepends="pkg-config intltool"
makedepends="gtk+3-devel libnotify-devel"
license="zlib"
homepage="http://pwmt.org/projects/girara/"
short_desc="A library implementing a user interface that focuses on minimalism"
distfiles="http://pwmt.org/projects/${pkgname}/download/${pkgname}-${version}.tar.gz"
checksum=98e6a343298ae46869c990bc6e0732555e19af2e386cdc1a911f109b1c5c32e5
pre_build() {
sed -i 's/^\(CFLAGS *+=\)/override \1/' config.mk
sed -i 's/^\(LDFLAGS *+=\)/override \1/' config.mk
}
post_install() {
vlicense LICENSE
}
girara-devel_package() {
depends="${sourcepkg}>=${version}_${revision} ${makedepends}"
short_desc+=" - development files"
pkg_install() {
vmove usr/include
vmove "usr/lib/*.a"
vmove "usr/lib/*.so"
vmove usr/lib/pkgconfig
}
}