From dfa83caa81e3875b245c0dedbe67a7bef46e8aa0 Mon Sep 17 00:00:00 2001 From: Johannes Löthberg Date: Wed, 12 Jun 2013 22:17:35 +0200 Subject: Added urxvt-tabbedex-git --- PKGBUILD | 33 +++++++++++++++++++++++++++++++++ 1 file changed, 33 insertions(+) create mode 100644 PKGBUILD (limited to 'PKGBUILD') diff --git a/PKGBUILD b/PKGBUILD new file mode 100644 index 0000000..21209c2 --- /dev/null +++ b/PKGBUILD @@ -0,0 +1,33 @@ +# Maintainer: Johannes Löthberg +# Contributor: M Rawash + +pkgname="urxvt-tabbedex-git" +pkgver=20120216 +pkgrel=1 +pkgdesc="Tabbed plugin for rxvt-unicode with many enhancements, development version" +arch=("any") +url='http://github.com/stepb/urxvt-tabbedex' +license=("GPL") +depends=('rxvt-unicode') +makedepends=('git') +provides=('urxvt-tabbedex') +conflicts=('urxvt-tabbedex') +install=${pkgname}.install + +_gitroot="git://github.com/stepb/urxvt-tabbedex.git" +_gitname="urxvt-tabbedex" + +build() { + msg "Connecting to ${_gitroot}..." + + if [ -d ${srcdir}/${_gitname} ] ; then + cd ${srcdir}/${_gitname} && git pull origin master + else + git clone $_gitroot + fi + + msg "GIT checkout done or server timeout" + msg "Starting Installation..." + + install -Dm644 ${srcdir}/${_gitname}/tabbedex ${pkgdir}/usr/lib/urxvt/perl/tabbedex +} -- cgit v1.2.3-70-g09d2