diff options
author | Yurii Kolesnykov | 2019-05-29 16:15:05 +0300 |
---|---|---|
committer | Yurii Kolesnykov | 2019-05-29 16:15:05 +0300 |
commit | d2734672be5d92a1f8ee6c7ccd0fed948a6bab09 (patch) | |
tree | afe90dafa9d9dafd07bc6374b89a73994e84d196 | |
parent | 6df3c641c42247e98179ffaea7eb23a9d9b20cc9 (diff) | |
download | aur-d2734672be5d92a1f8ee6c7ccd0fed948a6bab09.tar.gz |
5.2.827763.c0a74c732568
-rw-r--r-- | .SRCINFO | 2 | ||||
-rw-r--r-- | PKGBUILD | 8 |
2 files changed, 6 insertions, 4 deletions
@@ -1,6 +1,6 @@ pkgbase = linux-drm-intel-next-git pkgdesc = Linux with patches for Intel graphics - pkgver = 5.1.827748.cfc0e7bbf41b + pkgver = 5.2.827763.c0a74c732568 pkgrel = 1 url = https://drm.pages.freedesktop.org/maintainer-tools/drm-intel.html arch = x86_64 @@ -9,10 +9,9 @@ pkgbase=linux-drm-intel-next-git pkgdesc='Linux with patches for Intel graphics' _srcname="${pkgbase}" -_kernel_rel=5.1 _branch=drm-intel-next _kernelname=${pkgbase#linux} -pkgver=5.1.827748.cfc0e7bbf41b +pkgver=5.2.827763.c0a74c732568 pkgrel=1 arch=(x86_64) url='https://drm.pages.freedesktop.org/maintainer-tools/drm-intel.html' @@ -32,8 +31,11 @@ sha256sums=('SKIP' 'ad6344badc91ad0630caacde83f7f9b97276f80d26a20619a87952be65492c65') pkgver() { cd "${_srcname}" + local version="$(grep \^VERSION Makefile|cut -d"=" -f2|cut -d" " -f2)" + local patch="$(grep \^PATCHLEVEL Makefile|cut -d"=" -f2|cut -d" " -f2)" + patch=$(( $patch + 1 )) - echo ${_kernel_rel}.$(git rev-list --count HEAD).$(git rev-parse --short HEAD) + echo $version.$patch.$(git rev-list --count HEAD).$(git rev-parse --short HEAD) } _kernelname=${pkgbase#linux} |