void-packages/srcpkgs/bar-git/template

28 lines
680 B
Bash
Raw Normal View History

2013-07-29 17:14:21 +02:00
# Template file for 'bar-git'
pkgname=bar-git
2014-12-13 20:12:52 +01:00
version=20141213
revision=1
build_style=gnu-makefile
hostmakedepends="perl git"
2013-07-29 17:14:21 +02: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 13:11:03 +02:00
provides="bar-${version}_${revision}"
replaces="bar>=0"
2013-07-29 17:14:21 +02: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 21:59:46 +02:00
pre_build() {
sed 's/^CFLAGS =/CFLAGS +=/' -i Makefile
sed 's/^LDFLAGS =/LDFLAGS +=/' -i Makefile
}
post_install() {
2014-07-08 22:55:02 +02:00
vbin palette.pl
vinstall LICENSE 644 usr/share/licenses/bar
2013-07-29 17:14:21 +02:00
}