void-packages/srcpkgs/tabbed-git/template

37 lines
883 B
Plaintext
Raw Normal View History

2013-08-29 14:30:39 +02:00
# Template file for 'tabbed-git'
pkgname=tabbed-git
2013-11-04 15:44:36 +01:00
version=20131104
2013-08-29 14:30:39 +02:00
revision=1
makedepends="libX11-devel"
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}
}
do_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
make CC=$CC INCS="-I." LIBS="-lX11" ${makejobs}
}
do_install() {
make PREFIX=/usr DESTDIR=$DESTDIR install
vinstall LICENSE 644 usr/share/licenses/$pkgname
}
tabbed-git_package() {
provides="tabbed-${version}"
replaces="tabbed>=0"
pkg_install() {
vmove usr
}
}