void-packages/srcpkgs/bar-git/template

27 lines
619 B
Plaintext

# Template file for 'bar-git'
pkgname=bar-git
version=20131221
revision=1
build_style=gnu-makefile
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}
}
pre_build() {
cp ${FILESDIR}/config.h config.h
}
post_install() {
vinstall palette.pl 755 usr/bin
vinstall LICENSE 644 usr/share/licenses/${pkgname}
vinstall README.md 644 usr/share/doc/${pkgname}
}