diff options
-rw-r--r-- | .SRCINFO | 2 | ||||
-rw-r--r-- | PKGBUILD | 7 |
2 files changed, 7 insertions, 2 deletions
@@ -1,6 +1,6 @@ pkgbase = perl-net-dbus-git pkgdesc = Binding for DBus messaging protocol - pkgver = 20130708 + pkgver = 1.0.0.r18.geaff372 pkgrel = 1 url = http://search.cpan.org/dist/Net-DBus arch = i686 @@ -5,7 +5,7 @@ pkgname=perl-net-dbus-git _pkgname=perl-net-dbus _gitname=net-dbus -pkgver=20130708 +pkgver=1.0.0.r18.geaff372 pkgrel=1 pkgdesc="Binding for DBus messaging protocol" arch=('i686' 'x86_64') @@ -19,6 +19,11 @@ provides=($_pkgname) source=("git://gitorious.org/$_gitname/$_gitname.git") md5sums=('SKIP') +pkgver() { + cd $_gitname + git describe --long --tags | sed -r 's,^v,,;s,([^-]*-g),r\1,;s,-,.,g' +} + build() { cd $_gitname PERL_MM_USE_DEFAULT=1 perl Makefile.PL INSTALLDIRS=vendor |