db-move: moved firefox-i18n from [testing] to [extra] (any)
[arch-packages.git] / xf86-video-vesa / trunk / PKGBUILD
blob9a30f8a0ae669881018f1bbe2c60ac63040526ae
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 source=(${url}/releases/individual/driver/${pkgname}-${pkgver}.tar.xz{,.sig})
16 sha512sums=('494e117c1e6e0ce4c66ac7798de54667862c62605bfd76dd9373447d40dcd0521100810c9285cbe9c159440e217954c0cad6d5219c5894e075509c7c0bc353c7'
17             'SKIP')
18 #validpgpkeys=('DD38563A8A8224537D1F90E45B8A2D50A0ECD0D3') #  "Adam Jackson <ajax@nwnk.net>"
19 #validpgpkeys+=('995ED5C8A6138EB0961F18474C09DD83CAAA50B2') # "Adam Jackson <ajax@nwnk.net>"
20 validpgpkeys=('4A193C06D35E7C670FA4EF0BA2FB9E081F2D130E') # "Alan Coopersmith <alan.coopersmith@oracle.com>"
22 build() {
23   cd ${pkgname}-${pkgver}
25   # Since pacman 5.0.2-2, hardened flags are now enabled in makepkg.conf
26   # With them, module fail to load with undefined symbol.
27   # See https://bugs.archlinux.org/task/55102 / https://bugs.archlinux.org/task/54845
28   export CFLAGS=${CFLAGS/-fno-plt}
29   export CXXFLAGS=${CXXFLAGS/-fno-plt}
30   export LDFLAGS=${LDFLAGS/,-z,now}
32   ./configure --prefix=/usr
33   make
36 package() {
37   cd ${pkgname}-${pkgver}
38   make DESTDIR="${pkgdir}" install
39   install -d -m755 "${pkgdir}/usr/share/licenses/${pkgname}"
40   install -m644 COPYING "${pkgdir}/usr/share/licenses/${pkgname}/"