void-packages/srcpkgs/tabbed-git/template

31 lines
797 B
Text
Raw Normal View History

2013-08-29 12:30:39 +00:00
# Template file for 'tabbed-git'
pkgname=tabbed-git
version=20131230
2013-08-29 12:30:39 +00:00
revision=1
build_style=gnu-makefile
make_build_args="INCS=-I. LIBS=-lX11"
2013-08-29 12:30:39 +00:00
makedepends="libX11-devel"
provides="tabbed-${version}"
replaces="tabbed>=0"
2013-08-29 12:30:39 +00:00
short_desc="Simple generic tabbed fronted to xembed aware applications"
maintainer="Ypnose <linuxienATlegtuxDOTorg>"
license="MIT"
homepage="http://tools.suckless.org/tabbed/"
do_fetch() {
local url="git://git.suckless.org/tabbed"
msg_normal "Fetching source from $url ...\n"
git clone ${url} ${pkgname}-${version}
}
pre_build() {
2013-08-29 12:30:39 +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-08-29 12:30:39 +00:00
vinstall LICENSE 644 usr/share/licenses/$pkgname
}