aboutsummaryrefslogtreecommitdiffstats
path: root/PKGBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'PKGBUILD')
-rw-r--r--PKGBUILD12
1 files changed, 6 insertions, 6 deletions
diff --git a/PKGBUILD b/PKGBUILD
index 20a1967..32fbd74 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -1,8 +1,8 @@
# Maintainer: Johannes Löthberg <demizide@gmail.com>
# Contributor: M Rawash <mrawash@gmail.com>
-pkgname="urxvt-tabbedex-git"
-pkgver=20130612
+pkgname=urxvt-tabbedex-git
+pkgver=0.4.r9.g49c1514
pkgrel=1
pkgdesc="Tabbed plugin for rxvt-unicode with many enhancements, git version with perl 5.18 patch."
arch=("any")
@@ -19,17 +19,17 @@ md5sums=('SKIP'
'92d581a40779da3127c88fdc7d10257f')
pkgver() {
- date +%Y%m%d
+ cd urxvt-tabbedex
+ printf "%s" "$(git describe --tags --long | sed 's/^tabbedex-//;s/-/-r/' | tr - .)"
}
prepare() {
- cd ${srcdir}/urxvt-tabbedex
-
+ cd urxvt-tabbedex
git apply ../0001-make-urxvt-tabbedex-work-with-perl-5.18.patch
}
package() {
- install -Dm644 ${srcdir}/urxvt-tabbedex/tabbedex ${pkgdir}/usr/lib/urxvt/perl/tabbedex
+ install -Dm644 "$srcdir"/urxvt-tabbedex/tabbedex "$pkgdir"/usr/lib/urxvt/perl/tabbedex
}
# vim: set ts=4 sw=4 noet: