2013-07-29 17:14:21 +02:00
|
|
|
# Template file for 'bar-git'
|
|
|
|
pkgname=bar-git
|
2013-09-27 18:46:33 +02:00
|
|
|
version=20130927
|
2013-07-29 17:14:21 +02:00
|
|
|
revision=1
|
|
|
|
makedepends="libxcb-devel"
|
|
|
|
short_desc="A lightweight xcb based bar"
|
|
|
|
maintainer="Ypnose <linuxienATlegtuxDOTorg>"
|
|
|
|
license="MIT"
|
|
|
|
homepage="https://github.com/LemonBoy/bar"
|
|
|
|
|
|
|
|
|
|
|
|
do_fetch() {
|
|
|
|
local url="git://github.com/LemonBoy/bar"
|
|
|
|
msg_normal "Fetching source from $url ...\n"
|
|
|
|
git clone ${url} ${pkgname}-${version}
|
|
|
|
}
|
|
|
|
|
|
|
|
do_build() {
|
|
|
|
cp ${FILESDIR}/config.h config.h
|
|
|
|
make CC=$CC INCS="-I." ${makejobs}
|
|
|
|
}
|
|
|
|
|
|
|
|
do_install() {
|
|
|
|
make PREFIX=/usr DESTDIR=$DESTDIR install
|
|
|
|
vinstall LICENSE 644 usr/share/licenses/$pkgname
|
|
|
|
}
|
|
|
|
|
|
|
|
bar-git_package() {
|
|
|
|
pkg_install() {
|
|
|
|
vmove usr
|
|
|
|
}
|
|
|
|
}
|