[arch-commits] Commit in vbetool/trunk (PKGBUILD)
Connor Behan
cbehan at archlinux.org
Mon Apr 26 12:21:40 UTC 2021
Date: Monday, April 26, 2021 @ 12:21:40
Author: cbehan
Revision: 924501
Fix source download
Modified:
vbetool/trunk/PKGBUILD
----------+
PKGBUILD | 17 +++++++++++------
1 file changed, 11 insertions(+), 6 deletions(-)
Modified: PKGBUILD
===================================================================
--- PKGBUILD 2021-04-26 12:12:42 UTC (rev 924500)
+++ PKGBUILD 2021-04-26 12:21:40 UTC (rev 924501)
@@ -8,24 +8,29 @@
pkgver=1.2.2
pkgrel=4
pkgdesc="Uses lrmi in order to run code from the video BIOS"
-url="https://www.codon.org.uk/~mjg59/vbetool/"
+url="https://cgit.freedesktop.org/~airlied/vbetool/"
license=('GPL2')
arch=('x86_64')
depends=('zlib' 'libx86' 'libpciaccess')
-makedepends=('pciutils')
-source=("https://cgit.freedesktop.org/~airlied/${pkgname}/snapshot/${pkgname}-${pkgver}.tar.gz"
+makedepends=('pciutils' 'git')
+_commit=8cf64e31ff27ac4e9daa17d9178ad7d8d652fd08
+source=("git+git://people.freedesktop.org/~airlied/vbetool#commit=$_commit"
'no_x86_check.patch')
md5sums=('SKIP'
'f4abc1181c0cda966626cbe5872d678f')
+prepare() {
+ cd "$pkgname"
+ patch -Np1 -i ../no_x86_check.patch
+}
+
build() {
- cd "${srcdir}"/$pkgname-$pkgver
- patch -Np1 -i ../no_x86_check.patch
+ cd "$pkgname"
./autogen.sh --prefix=/usr --sbindir=/usr/bin
make LIBS=-lpci
}
package() {
- cd "${srcdir}"/$pkgname-$pkgver
+ cd "$pkgname"
make DESTDIR="${pkgdir}" install
}
More information about the arch-commits
mailing list