archrelease: copy trunk to extra-x86_64
[arch-packages.git] / xf86-video-dummy / trunk / PKGBUILD
blobe2017c54b174a178d4cca781dba1899ec5664ca3
1 # Maintainer: Andreas Radke <andyrtr@archlinux.org>
3 pkgname=xf86-video-dummy
4 pkgver=0.4.0
5 pkgrel=1
6 pkgdesc="X.org dummy video driver"
7 arch=(x86_64)
8 url="https://xorg.freedesktop.org/"
9 license=('custom')
10 depends=('glibc')
11 makedepends=('xorg-server-devel' 'X-ABI-VIDEODRV_VERSION=25.2' 'xorgproto')
12 conflicts=('xorg-server<21.1.1' 'X-ABI-VIDEODRV_VERSION<25' 'X-ABI-VIDEODRV_VERSION>=26')
13 groups=('xorg-drivers')
14 source=(${url}/releases/individual/driver/${pkgname}-${pkgver}.tar.xz{,.sig})
15 sha512sums=('1150a84c4f17215b9c579d8ce9399d547a01970bf7b5396653f14beb13a62deefe3008bf3ad6a2c5c0f46da4cbc0b840c18a7dff339e3b882d108183fa1d30d9'
16             'SKIP')
17 #validpgpkeys=('7B27A3F1A6E18CD9588B4AE8310180050905E40C') # Julien Cristau <julien.cristau@ens-lyon.org>
18 validpgpkeys=('3BB639E56F861FA2E86505690FDD682D974CA72A') # "Matt Turner <mattst88@gmail.com>"
20 build() {
21   cd ${pkgname}-${pkgver}
23   # Since pacman 5.0.2-2, hardened flags are now enabled in makepkg.conf
24   # With them, module fail to load with undefined symbol.
25   # See https://bugs.archlinux.org/task/55102 / https://bugs.archlinux.org/task/54845
26   export CFLAGS=${CFLAGS/-fno-plt}
27   export CXXFLAGS=${CXXFLAGS/-fno-plt}
28   export LDFLAGS=${LDFLAGS/,-z,now}
30   ./configure --prefix=/usr
31   make
34 package() {
35   cd ${pkgname}-${pkgver}
36   make DESTDIR="${pkgdir}" install
37   install -m755 -d "${pkgdir}/usr/share/licenses/${pkgname}"
38   install -m644 COPYING "${pkgdir}/usr/share/licenses/${pkgname}/"