db-move: moved gnome-calendar from [testing] to [extra] (x86_64)
[arch-packages.git] / xf86-video-voodoo / trunk / PKGBUILD
blob67fc6c3678056f9cc7f1efd7613402661016322f
1 # Maintainer: Andreas Radke <andyrtr@archlinux.org>
2 # Contributor: Jan de Groot <jgc@archlinux.org>
4 pkgname=xf86-video-voodoo
5 pkgver=1.2.6
6 pkgrel=1
7 pkgdesc="X.org 3dfx Voodoo1/Voodoo2 2D video driver"
8 arch=(x86_64)
9 url="https://xorg.freedesktop.org/"
10 license=('custom')
11 depends=('glibc')
12 makedepends=('xorg-server-devel' 'X-ABI-VIDEODRV_VERSION=25.2' 'xorgproto')
13 conflicts=('xorg-server<21.1.1' 'X-ABI-VIDEODRV_VERSION<25' 'X-ABI-VIDEODRV_VERSION>=26')
14 groups=('xorg-drivers')
15 source=(${url}/releases/individual/driver/${pkgname}-${pkgver}.tar.xz{,.sig})
16 sha512sums=('c889d79044438d6b15efceda07f63874063a2faa24a86d048e62c8ad1364efdfec04ff7ec662ad0749d2a7263abb14edb74e7d5ebf9a1aa880edb2b341a80a31'
17             'SKIP')
18 validpgpkeys=('4A193C06D35E7C670FA4EF0BA2FB9E081F2D130E') # "Alan Coopersmith <alan.coopersmith@oracle.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}/LICENSE"