diff options
-rw-r--r-- | .SRCINFO | 4 | ||||
-rw-r--r-- | PKGBUILD | 7 |
2 files changed, 5 insertions, 6 deletions
@@ -1,6 +1,6 @@ pkgbase = linux-amd-staging-drm-next-git pkgdesc = Linux kernel with AMDGPU DC patches - pkgver = 4.11.692986.58e5ccdc343d + pkgver = 4.13rc2.r1097.g58e5ccdc343d pkgrel = 1 url = https://cgit.freedesktop.org/~agd5f/linux/ arch = i686 @@ -11,8 +11,8 @@ pkgbase = linux-amd-staging-drm-next-git makedepends = kmod makedepends = inetutils makedepends = bc - makedepends = libelf makedepends = git + makedepends = libelf options = !strip source = linux-amd-staging-drm-next-git::git://people.freedesktop.org/~agd5f/linux#branch=amd-staging-drm-next source = config.x86_64 @@ -5,15 +5,14 @@ pkgbase=linux-amd-staging-drm-next-git pkgdesc='Linux kernel with AMDGPU DC patches' _srcname=$pkgbase -_kernel_rel=4.11 _branch=amd-staging-drm-next _kernelname=${pkgbase#linux} -pkgver=4.11.692986.58e5ccdc343d +pkgver=4.13rc2.r1097.g58e5ccdc343d pkgrel=1 arch=('i686' 'x86_64') url='https://cgit.freedesktop.org/~agd5f/linux/' license=('GPL2') -makedepends=('xmlto' 'docbook-xsl' 'kmod' 'inetutils' 'bc' 'libelf' 'git') +makedepends=('xmlto' 'docbook-xsl' 'kmod' 'inetutils' 'bc' 'git' 'libelf') options=('!strip') source=("${pkgbase}::git://people.freedesktop.org/~agd5f/linux#branch=${_branch}" # the main kernel config files @@ -30,7 +29,7 @@ sha256sums=('SKIP' pkgver() { cd "${srcdir}/${_srcname}" - echo 4.11.$(git rev-list --count HEAD).$(git rev-parse --short HEAD) + git describe --long | sed -E 's/^v//;s/([^-]*-g)/r\1/;s/-/./g;s/\.rc/rc/' } prepare() { |