diff --git a/srcpkgs/bar-git/template b/srcpkgs/bar-git/template deleted file mode 100644 index e7493fef6bf..00000000000 --- a/srcpkgs/bar-git/template +++ /dev/null @@ -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 " -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 -} diff --git a/srcpkgs/lemonbar/template b/srcpkgs/lemonbar/template new file mode 100644 index 00000000000..f6842ca320f --- /dev/null +++ b/srcpkgs/lemonbar/template @@ -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 " +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 +}