2013-07-29 17:14:21 +02:00
|
|
|
# Template file for 'bar-git'
|
|
|
|
pkgname=bar-git
|
2013-12-21 22:26:05 +01:00
|
|
|
version=20131221
|
2013-07-29 17:14:21 +02:00
|
|
|
revision=1
|
2013-12-30 15:38:44 +01:00
|
|
|
build_style=gnu-makefile
|
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"
|
|
|
|
|
|
|
|
do_fetch() {
|
|
|
|
local url="git://github.com/LemonBoy/bar"
|
|
|
|
msg_normal "Fetching source from $url ...\n"
|
|
|
|
git clone ${url} ${pkgname}-${version}
|
|
|
|
}
|
|
|
|
|
2013-12-30 15:38:44 +01:00
|
|
|
pre_build() {
|
2013-07-29 17:14:21 +02:00
|
|
|
cp ${FILESDIR}/config.h config.h
|
|
|
|
}
|
|
|
|
|
2013-12-30 15:38:44 +01:00
|
|
|
post_install() {
|
2013-09-30 20:17:59 +02:00
|
|
|
vinstall palette.pl 755 usr/bin
|
|
|
|
vinstall LICENSE 644 usr/share/licenses/${pkgname}
|
|
|
|
vinstall README.md 644 usr/share/doc/${pkgname}
|
2013-07-29 17:14:21 +02:00
|
|
|
}
|