summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorLW-archlinux2016-11-23 23:14:43 +0100
committerLW-archlinux2016-11-23 23:14:43 +0100
commit57c2a9da6551f90890f25666c6ed8676f6bbaf85 (patch)
tree2c114332c8c1f26d4e29a73fd3965777e8648c3d
parent8d0247cc7439a4905505567ff45aa37e6f61f279 (diff)
downloadaur-57c2a9da6551f90890f25666c6ed8676f6bbaf85.tar.gz
changed pkgver function
-rw-r--r--.SRCINFO12
-rw-r--r--PKGBUILD13
2 files changed, 12 insertions, 13 deletions
diff --git a/.SRCINFO b/.SRCINFO
index ddf85816c56..af9d860723c 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,9 +1,7 @@
-# Generated by mksrcinfo v8
-# Wed Dec 23 13:59:12 UTC 2015
pkgbase = libdrm-git
pkgdesc = Userspace interface to kernel DRM services, master git version
- pkgver = 5795.b38a4b2
- pkgrel = 2
+ pkgver = 2.4.73.r9.g1924b67
+ pkgrel = 1
url = http://dri.freedesktop.org/
arch = i686
arch = x86_64
@@ -14,13 +12,13 @@ pkgbase = libdrm-git
makedepends = xorg-util-macros
depends = glibc
depends = libpciaccess
- provides = libdrm=2.4.66
+ provides = libdrm
conflicts = libdrm
replaces = libdrm
source = libdrm::git://anongit.freedesktop.org/mesa/drm#branch=master
source = COPYING
- sha256sums = SKIP
- sha256sums = 9631d4f694952e3e6ae5a05534c2e93e994e47d3413677a3a00e45c8cef6db93
+ sha512sums = SKIP
+ sha512sums = b0ca349b882a4326b19f81f22804fabdb6fb7aef31cdc7b16b0a7ae191bfbb50c7daddb2fc4e6c33f1136af06d060a273de36f6f3412ea326f16fa4309fda660
pkgname = libdrm-git
diff --git a/PKGBUILD b/PKGBUILD
index 98901f3ce76..e8e9d1f0e20 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -3,8 +3,8 @@
pkgname=libdrm-git
_pkgname=libdrm
-pkgver=5795.b38a4b2
-pkgrel=2
+pkgver=2.4.73.r9.g1924b67
+pkgrel=1
pkgdesc="Userspace interface to kernel DRM services, master git version"
arch=(i686 x86_64)
license=('custom')
@@ -12,18 +12,19 @@ depends=('glibc' 'libpciaccess')
makedepends=('valgrind' 'xorg-util-macros')
checkdepends=('cairo' 'cunit')
url="http://dri.freedesktop.org/"
-provides=('libdrm=2.4.66')
+provides=('libdrm')
replaces=('libdrm')
conflicts=('libdrm')
source=('libdrm::git://anongit.freedesktop.org/mesa/drm#branch=master'
COPYING)
-sha256sums=('SKIP'
- '9631d4f694952e3e6ae5a05534c2e93e994e47d3413677a3a00e45c8cef6db93')
+sha512sums=('SKIP'
+ 'b0ca349b882a4326b19f81f22804fabdb6fb7aef31cdc7b16b0a7ae191bfbb50c7daddb2fc4e6c33f1136af06d060a273de36f6f3412ea326f16fa4309fda660')
pkgver() {
cd "${srcdir}/${_pkgname}"
- echo $(git rev-list --count HEAD).$(git rev-parse --short HEAD)
+# echo $(git rev-list --count HEAD).$(git rev-parse --short HEAD)
+ git describe --long | sed 's/^libdrm-//;s/\([^-]*-g\)/r\1/;s/-/./g'
}
prepare() {