26 lines
662 B
Text
26 lines
662 B
Text
# Template file for 'bar-git'
|
|
pkgname=bar-git
|
|
version=20140919
|
|
revision=1
|
|
build_style=gnu-makefile
|
|
hostmakedepends="perl git"
|
|
makedepends="libxcb-devel"
|
|
short_desc="A lightweight xcb based bar"
|
|
maintainer="Ypnose <linuxienATlegtuxDOTorg>"
|
|
license="MIT"
|
|
homepage="https://github.com/LemonBoy/bar"
|
|
provides="bar-${version}_${revision}"
|
|
|
|
do_fetch() {
|
|
local url="git://github.com/LemonBoy/bar"
|
|
msg_normal "Fetching source from $url ...\n"
|
|
git clone ${url} ${pkgname}-${version}
|
|
}
|
|
pre_build() {
|
|
sed 's/^CFLAGS =/CFLAGS +=/' -i Makefile
|
|
sed 's/^LDFLAGS =/LDFLAGS +=/' -i Makefile
|
|
}
|
|
post_install() {
|
|
vbin palette.pl
|
|
vinstall LICENSE 644 usr/share/licenses/bar
|
|
}
|