void-packages/srcpkgs/tabbed/template

26 lines
739 B
Plaintext

# Template file for 'tabbed'
pkgname=tabbed
version=0.6
revision=1
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"
makedepends="libX11-devel"
replaces="tabbed>=0"
short_desc="Tab interface for application supporting Xembed"
maintainer="Ypnose <linuxienATlegtuxDOTorg>"
license="MIT"
checksum=7651ea3acbec5d6a25469e8665da7fc70aba2b4fa61a2a6a5449eafdfd641c42
pre_build() {
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() {
vinstall LICENSE 644 usr/share/licenses/$pkgname
}