summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 21209c2d5f37aef7501445354ecd29b725167564 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
# Maintainer: Johannes Löthberg <demizide@gmail.com>
# Contributor: M Rawash <mrawash@gmail.com>

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
}