void-packages/srcpkgs/tabbed/template

27 lines
768 B
Text
Raw Normal View History

2013-05-28 20:38:25 +00:00
# Template file for 'tabbed'
pkgname=tabbed
version=0.5
2014-02-16 17:51:01 +00:00
revision=4
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"
provides="tabbed-${version}"
replaces="tabbed>=0"
2013-05-28 20:38:25 +00:00
short_desc="Tab interface for application supporting Xembed"
maintainer="Ypnose <linuxienATlegtuxDOTorg>"
license="MIT"
checksum=21226506761909fadebdd5fae0ff5149b9a378836fa515c45efbcbe504321fb9
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
}
post_install() {
2013-05-28 20:38:25 +00:00
vinstall LICENSE 644 usr/share/licenses/$pkgname
}