void-packages/srcpkgs/tabbed/template

27 lines
803 B
Text
Raw Normal View History

2013-05-28 20:38:25 +00:00
# Template file for 'tabbed'
pkgname=tabbed
2014-04-13 19:54:53 +00:00
version=0.6
2014-09-20 08:38:43 +00:00
revision=2
2013-05-28 20:38:25 +00:00
homepage="http://tools.suckless.org/tabbed/"
distfiles="http://dl.suckless.org/tools/$pkgname-$version.tar.gz"
build_style=gnu-makefile
make_build_args="INCS=-I. LIBS=-lX11"
2013-05-28 20:38:25 +00:00
makedepends="libX11-devel"
short_desc="Tab interface for application supporting Xembed"
maintainer="Ypnose <linuxienATlegtuxDOTorg>"
license="MIT"
2014-04-13 19:54:53 +00:00
checksum=7651ea3acbec5d6a25469e8665da7fc70aba2b4fa61a2a6a5449eafdfd641c42
2013-05-28 20:38:25 +00:00
pre_build() {
2013-05-28 20:38:25 +00:00
cp ${FILESDIR}/config.h config.h
sed -i 's/CPPFLAGS =/CPPFLAGS +=/g' config.mk
sed -i 's/CFLAGS =/CFLAGS +=/g' config.mk
sed -i 's/LDFLAGS =/LDFLAGS +=/g' config.mk
2014-09-20 08:38:43 +00:00
# Remove BSD_SOURCE warning
sed -i 's/-D_BSD_SOURCE/-D_DEFAULT_SOURCE/g' config.mk
2013-05-28 20:38:25 +00:00
}
post_install() {
2013-05-28 20:38:25 +00:00
vinstall LICENSE 644 usr/share/licenses/$pkgname
}