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
|
2013-12-30 15:38:44 +01:00
|
|
|
build_style=gnu-makefile
|
2014-07-27 16:05:16 +02:00
|
|
|
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}"
|
2014-09-19 20:11:12 +02:00
|
|
|
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
|
|
|
|
}
|
2013-12-30 15:38:44 +01:00
|
|
|
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
|
|
|
}
|