archrelease: copy trunk to extra-x86_64
[arch-packages.git] / xf86-video-vesa / repos / extra-x86_64 / PKGBUILD
blob793ea920fce6d457bed7548bedaab388d70bc402
1 # Maintainer: Andreas Radke <andyrtr@archlinux.org>
2 # Contributor: Jan de Groot <jgc@archlinux.org>
4 pkgname=xf86-video-vesa
5 pkgver=2.6.0
6 pkgrel=1
7 pkgdesc="X.org vesa video driver"
8 arch=(x86_64)
9 license=('custom')
10 url="https://xorg.freedesktop.org/"
11 depends=('glibc')
12 makedepends=('xorg-server-devel' 'X-ABI-VIDEODRV_VERSION=25.2')
13 conflicts=('xorg-server<21.1.1' 'X-ABI-VIDEODRV_VERSION<25' 'X-ABI-VIDEODRV_VERSION>=26')
14 groups=('xorg-drivers' 'xorg')
15 options=('debug')
16 source=(${url}/releases/individual/driver/${pkgname}-${pkgver}.tar.xz{,.sig})
17 sha512sums=('494e117c1e6e0ce4c66ac7798de54667862c62605bfd76dd9373447d40dcd0521100810c9285cbe9c159440e217954c0cad6d5219c5894e075509c7c0bc353c7'
18             'SKIP')
19 #validpgpkeys=('DD38563A8A8224537D1F90E45B8A2D50A0ECD0D3') #  "Adam Jackson <ajax@nwnk.net>"
20 #validpgpkeys+=('995ED5C8A6138EB0961F18474C09DD83CAAA50B2') # "Adam Jackson <ajax@nwnk.net>"
21 validpgpkeys=('4A193C06D35E7C670FA4EF0BA2FB9E081F2D130E') # "Alan Coopersmith <alan.coopersmith@oracle.com>"
23 build() {
24   cd ${pkgname}-${pkgver}
26   # Since pacman 5.0.2-2, hardened flags are now enabled in makepkg.conf
27   # With them, module fail to load with undefined symbol.
28   # See https://bugs.archlinux.org/task/55102 / https://bugs.archlinux.org/task/54845
29   export CFLAGS=${CFLAGS/-fno-plt}
30   export CXXFLAGS=${CXXFLAGS/-fno-plt}
31   export LDFLAGS=${LDFLAGS/,-z,now}
33   ./configure --prefix=/usr
34   make
37 package() {
38   cd ${pkgname}-${pkgver}
39   make DESTDIR="${pkgdir}" install
40   install -d -m755 "${pkgdir}/usr/share/licenses/${pkgname}"
41   install -m644 COPYING "${pkgdir}/usr/share/licenses/${pkgname}/"