archrelease: copy trunk to staging-x86_64
[arch-packages.git] / xf86-video-vmware / trunk / PKGBUILD
blob13b740a465cf1ba61121a6701fb70ab06a43236e
1 # Maintainer: Andreas Radke <andyrtr@archlinux.org>
2 # Contributor: Jan de Groot <jgc@archlinux.org>
4 pkgname=xf86-video-vmware
5 pkgver=13.4.0
6 pkgrel=1
7 pkgdesc="X.org vmware video driver"
8 arch=(x86_64)
9 url="https://xorg.freedesktop.org/"
10 license=('custom')
11 depends=('mesa' 'systemd-libs')
12 makedepends=('xorg-server-devel' 'X-ABI-VIDEODRV_VERSION=25.2') # 'git')
13 conflicts=('xorg-server<21.1.1' 'X-ABI-VIDEODRV_VERSION<25' 'X-ABI-VIDEODRV_VERSION>=26')
14 groups=('xorg-drivers')
15 options=('!emptydirs')
16 source=(${url}/releases/individual/driver/${pkgname}-${pkgver}.tar.xz{,.sig})
17 sha512sums=('7cacde21a490501dd9c2e9121040274c1f6ef64e6dc0ef49946b400f6297fab73a6e9548e45fe8930cee9028e65e45aaff9ba489dd69ac75a5133114726bf55d'
18             'SKIP')
19 #validpgpkeys=('90D027AEAF33CBABC140735BC1F5D3CDF5176580') #  Thomas Hellstrom (VMware) <thellstrom@vmware.com>
20 validpgpkeys=('3C2C43D9447D5938EF4551EBE23B7E70B467F0BF') # Peter Hutterer (Who-T) <office@who-t.net>
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 --enable-vmwarectrl-client
33   make
36 package() {
37   cd ${pkgname}-${pkgver}
38   make DESTDIR="${pkgdir}" install
39   
40   install -m755 -d "${pkgdir}/usr/share/licenses/${pkgname}"
41   install -m644 COPYING "${pkgdir}/usr/share/licenses/${pkgname}/"