New package: bar-git-20132907

This commit is contained in:
Ypnose 2013-07-29 17:14:21 +02:00
parent 70f20ec8b3
commit 0373ecd789
2 changed files with 62 additions and 0 deletions

View file

@ -0,0 +1,28 @@
/* The height of the bar (in pixels) */
#define BAR_HEIGHT 18
/* The width of the bar. Set to -1 to fit screen */
#define BAR_WIDTH -1
/* Offset from the left. Set to 0 to have no effect */
#define BAR_OFFSET 0
/* Choose between an underline or an overline */
#define BAR_UNDERLINE 1
/* The thickness of the underline (in pixels). Set to 0 to disable. */
#define BAR_UNDERLINE_HEIGHT 2
/* Default bar position, overwritten by '-b' switch */
#define BAR_BOTTOM 0
/* The fonts used for the bar, comma separated. Only the first 2 will be used. */
#define BAR_FONT "-*-terminus-medium-r-normal-*-12-*-*-*-c-*-*-1","fixed"
/* Some fonts don't set the right width for some chars, pheex it */
#define BAR_FONT_FALLBACK_WIDTH 6
/* Color palette */
#define COLOR0 0x1A1A1A /* background */
#define COLOR1 0xA9A9A9 /* foreground */
#define COLOR2 0x303030
#define COLOR3 0xF92672
#define COLOR4 0xA6E22E
#define COLOR5 0xFD971F
#define COLOR6 0x66D9EF
#define COLOR7 0x9E6FFE
#define COLOR8 0xAF875F
#define COLOR9 0xCCCCC6

34
srcpkgs/bar-git/template Normal file
View file

@ -0,0 +1,34 @@
# Template file for 'bar-git'
pkgname=bar-git
version=20132907
revision=1
makedepends="libxcb-devel"
short_desc="A lightweight xcb based bar"
maintainer="Ypnose <linuxienATlegtuxDOTorg>"
license="MIT"
homepage="https://github.com/LemonBoy/bar"
nofetch=yes
noextract=yes
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
}
}