New package: lemonbar-1.1; replaces bar-git

This commit is contained in:
Alessio Sergi 2015-04-05 10:55:10 +02:00
parent 6e1e908a6c
commit fc8624750a
2 changed files with 19 additions and 27 deletions

View file

@ -1,27 +0,0 @@
# Template file for 'bar-git'
pkgname=bar-git
version=20141213
revision=1
build_style=gnu-makefile
hostmakedepends="perl git"
makedepends="libxcb-devel"
short_desc="A lightweight xcb based bar"
maintainer="Ypnose <linuxienATlegtuxDOTorg>"
license="MIT"
homepage="https://github.com/LemonBoy/bar"
provides="bar-${version}_${revision}"
replaces="bar>=0"
do_fetch() {
local url="git://github.com/LemonBoy/bar"
msg_normal "Fetching source from $url ...\n"
git clone ${url} ${pkgname}-${version}
}
pre_build() {
sed 's/^CFLAGS =/CFLAGS +=/' -i Makefile
sed 's/^LDFLAGS =/LDFLAGS +=/' -i Makefile
}
post_install() {
vbin palette.pl
vinstall LICENSE 644 usr/share/licenses/bar
}

19
srcpkgs/lemonbar/template Normal file
View file

@ -0,0 +1,19 @@
# Template file for 'lemonbar'
pkgname=lemonbar
version=1.1
revision=1
wrksrc="bar-${version}"
build_style=gnu-makefile
hostmakedepends="perl"
makedepends="libxcb-devel"
replaces="bar-git>=0"
short_desc="A lightweight xcb based bar"
maintainer="Ypnose <linuxienATlegtuxDOTorg>"
homepage="https://github.com/LemonBoy/bar"
license="MIT"
distfiles="https://github.com/LemonBoy/bar/archive/v${version}.tar.gz"
checksum=567955575a09a7231cae7f2003e0fd66f4c86d7acbe1f53f407233730c8f2c9c
post_install() {
vlicense LICENSE
}