void-packages/srcpkgs/bar-git/template

28 lines
680 B
Plaintext
Raw Normal View History

2013-07-29 15:14:21 +00:00
# Template file for 'bar-git'
pkgname=bar-git
2014-12-13 19:12:52 +00:00
version=20141213
revision=1
build_style=gnu-makefile
hostmakedepends="perl git"
2013-07-29 15:14:21 +00:00
makedepends="libxcb-devel"
short_desc="A lightweight xcb based bar"
maintainer="Ypnose <linuxienATlegtuxDOTorg>"
license="MIT"
homepage="https://github.com/LemonBoy/bar"
2014-05-31 11:11:03 +00:00
provides="bar-${version}_${revision}"
replaces="bar>=0"
2013-07-29 15:14:21 +00:00
do_fetch() {
local url="git://github.com/LemonBoy/bar"
msg_normal "Fetching source from $url ...\n"
git clone ${url} ${pkgname}-${version}
}
2014-08-01 19:59:46 +00:00
pre_build() {
sed 's/^CFLAGS =/CFLAGS +=/' -i Makefile
sed 's/^LDFLAGS =/LDFLAGS +=/' -i Makefile
}
post_install() {
2014-07-08 20:55:02 +00:00
vbin palette.pl
vinstall LICENSE 644 usr/share/licenses/bar
2013-07-29 15:14:21 +00:00
}