summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorYurii Kolesnykov2022-09-22 13:54:41 +0300
committerYurii Kolesnykov2022-09-22 13:54:41 +0300
commit7c8f732de5bbcb11f95536978824165b11d62d6b (patch)
tree58d18ec691c8f0595ff32f58d6e032b20203baad
parent34b18f464c9411b8b6634c186beb1b2b455ecf36 (diff)
downloadaur-7c8f732de5bbcb11f95536978824165b11d62d6b.tar.gz
minor changes
Signed-off-by: Yurii Kolesnykov <root@yurikoles.com>
-rw-r--r--.SRCINFO2
-rw-r--r--PKGBUILD15
2 files changed, 11 insertions, 6 deletions
diff --git a/.SRCINFO b/.SRCINFO
index 66bb07ef192b..b914181dc1a9 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,7 +1,7 @@
pkgbase = xf86-video-amdgpu-git
pkgdesc = X.org amdgpu video driver (git version)
pkgver = 22.0.0.r8.g4e011b9
- pkgrel = 1
+ pkgrel = 2
url = https://xorg.freedesktop.org/
arch = x86_64
groups = xorg-drivers-git
diff --git a/PKGBUILD b/PKGBUILD
index 4593d3425229..74368f4c5580 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -1,14 +1,13 @@
# Maintainer: Yurii Kolesnykov <root@yurikoles.com>
-# based on extra/xf86-video-amdgpu by:
-# Laurent Carlier <lordheavym@gmail.com>
+# based on extra/xf86-video-amdgpu: Laurent Carlier <lordheavym@gmail.com>
#
-# Send PRs here: https://github.com/yurikoles-aur/xf86-video-ati-git
+# Send PRs here: https://github.com/yurikoles-aur/xf86-video-amdgpu-git
#
pkgname=xf86-video-amdgpu-git
_pkgname=${pkgname%-*}
pkgver=22.0.0.r8.g4e011b9
-pkgrel=1
+pkgrel=2
pkgdesc="X.org amdgpu video driver (git version)"
arch=('x86_64')
url="https://xorg.freedesktop.org/"
@@ -26,6 +25,12 @@ pkgver() {
git describe --long --tags | sed 's/^xf86.video.amdgpu.//;s/\([^-]*-g\)/r\1/;s/-/./g'
}
+prepare() {
+ cd ${pkgname}
+
+ NOCONFIGURE=1 ./autogen.sh
+}
+
build() {
cd ${pkgname}
@@ -38,7 +43,7 @@ build() {
#CFLAGS+=' -fcommon' # https://wiki.gentoo.org/wiki/Gcc_10_porting_notes/fno_common
- ./autogen.sh --prefix=/usr \
+ ./configure --prefix=/usr \
--enable-glamor
make
}