From 3de79670898d9171ee137ada686b75236a198e85 Mon Sep 17 00:00:00 2001 From: ivierlin Date: Mon, 16 Jan 2017 20:56:32 +0100 Subject: [PATCH] New package: lemonbar-xft-1.0.20170116 --- srcpkgs/lemonbar-xft/template | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+) create mode 100644 srcpkgs/lemonbar-xft/template diff --git a/srcpkgs/lemonbar-xft/template b/srcpkgs/lemonbar-xft/template new file mode 100644 index 00000000000..48d88d3bd0a --- /dev/null +++ b/srcpkgs/lemonbar-xft/template @@ -0,0 +1,24 @@ +# Template file for 'lemonbar-xft' +pkgname=lemonbar-xft +version=1.0.20161107 +revision=1 +_commit=043ad4757cc079666f50212ee0a2ef0729ecac6b +build_style=gnu-makefile +wrksrc="bar-${_commit}" +hostmakedepends="perl libXft-devel libxcb-devel" +makedepends="libxcb-devel libXft-devel" +short_desc="A lightweight xcb based bar with xft support" +maintainer='ivierlin ' +homepage="https://github.com/krypt-n/bar" +license="MIT" +distfiles="${homepage}/archive/${_commit}.tar.gz" +checksum=ec7705009e02094aef3bb22814b5764dae53b9bd719de0b6aa5002ee6e532994 + +pre_build() { + sed -i "s/^\(VERSION =\).*/\1 ${version}/" Makefile + sed -i 's/^\(CFLAGS *+=\)/override \1/' Makefile + sed -i 's/^\(LDFLAGS *+=\)/override \1/' Makefile +} +post_install() { + vlicense LICENSE +}