aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--.SRCINFO2
-rw-r--r--PKGBUILD12
2 files changed, 7 insertions, 7 deletions
diff --git a/.SRCINFO b/.SRCINFO
index db4e4ab..8647ef3 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -2,7 +2,7 @@
# Mon Jun 1 13:54:34 UTC 2015
pkgbase = urxvt-tabbedex-git
pkgdesc = Tabbed plugin for rxvt-unicode with many enhancements, git version with perl 5.18 patch.
- pkgver = 20130612
+ pkgver = 0.4.r9.g49c1514
pkgrel = 1
url = http://github.com/stepb/urxvt-tabbedex
install = urxvt-tabbedex-git.install
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: