From 37b411a83d63c89fffb83656ab008673dda562c3 Mon Sep 17 00:00:00 2001
From: Ypnose <linuxien@legtux.org>
Date: Thu, 8 May 2014 11:05:09 +0200
Subject: [PATCH] bar-git: update to 20140508

---
 srcpkgs/bar-git/files/config.h | 31 -------------------------------
 srcpkgs/bar-git/template       |  8 ++------
 2 files changed, 2 insertions(+), 37 deletions(-)
 delete mode 100644 srcpkgs/bar-git/files/config.h

diff --git a/srcpkgs/bar-git/files/config.h b/srcpkgs/bar-git/files/config.h
deleted file mode 100644
index b2570bbf14..0000000000
--- a/srcpkgs/bar-git/files/config.h
+++ /dev/null
@@ -1,31 +0,0 @@
-/* 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
-/* Define the opacity of the bar (requires a compositor such as compton) */
-#define BAR_OPACITY 1.0 /* 0 is invisible, 1 is opaque */
-/* Color palette */
-#define BACKGROUND 0x232c31
-#define COLOR0 0x2d3c46
-#define COLOR1 0xac4142
-#define COLOR2 0x90a959
-#define COLOR3 0xde935f
-#define COLOR4 0x6a9fb5
-#define COLOR5 0xaa759f
-#define COLOR6 0x75b5aa
-#define COLOR7 0x6c7a80
-#define COLOR8 0x425059
-#define COLOR9 0xcc6666
-#define FOREGROUND 0xc5c8c6
diff --git a/srcpkgs/bar-git/template b/srcpkgs/bar-git/template
index c93409bad5..392ee7fdc7 100644
--- a/srcpkgs/bar-git/template
+++ b/srcpkgs/bar-git/template
@@ -1,8 +1,9 @@
 # Template file for 'bar-git'
 pkgname=bar-git
-version=20131221
+version=20140508
 revision=1
 build_style=gnu-makefile
+hostmakedepends="perl"
 makedepends="libxcb-devel"
 short_desc="A lightweight xcb based bar"
 maintainer="Ypnose <linuxienATlegtuxDOTorg>"
@@ -15,12 +16,7 @@ do_fetch() {
 	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}
 }