2013-07-29 15:14:21 +00:00
|
|
|
# Template file for 'bar-git'
|
|
|
|
pkgname=bar-git
|
2014-08-01 17:46:08 +00:00
|
|
|
version=20140801
|
2014-08-01 19:59:46 +00:00
|
|
|
revision=2
|
2013-12-30 14:38:44 +00:00
|
|
|
build_style=gnu-makefile
|
2014-07-27 14:05:16 +00:00
|
|
|
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
|
|
|
|
}
|
2013-12-30 14:38:44 +00:00
|
|
|
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
|
|
|
}
|