archrelease: copy trunk to extra-x86_64
[arch-packages.git] / libxvmc / repos / extra-x86_64 / PKGBUILD
blobe504a633c0ebad1bcf2970af7d5f0936d6d1f436
1 #Maintainer: Jan de Groot <jgc@archlinux.org>
3 pkgname=libxvmc
4 pkgver=1.0.12
5 pkgrel=3
6 pkgdesc="X11 Video Motion Compensation extension library"
7 arch=('x86_64')
8 url="https://xorg.freedesktop.org/"
9 license=('custom')
10 depends=('libxext')
11 makedepends=('pkgconfig' 'libxv')
12 source=(${url}/releases/individual/lib/libXvMC-${pkgver}.tar.bz2{,.sig})
13 sha512sums=('62cb9a72b20af3b081d2d555a253b0e2b8b26b31f4fad10bd3e53bbf96e1663b61bd8df2b78b16f18218cd37cce0c9e6809ae16ded226b37a8b199e41b223955'
14             'SKIP')
15 validpgpkeys=('4A193C06D35E7C670FA4EF0BA2FB9E081F2D130E') #  Alan Coopersmith <alan.coopersmith@oracle.com>
16 validpgpkeys+=('C41C985FDCF1E5364576638B687393EE37D128F8') # Matthieu Herrb <matthieu.herrb@laas.fr>
17 validpgpkeys+=('995ED5C8A6138EB0961F18474C09DD83CAAA50B2') # "Adam Jackson <ajax@nwnk.net>"
19 build() {
20   cd libXvMC-${pkgver}
21   ./configure --prefix=/usr --sysconfdir=/etc --disable-static
22   sed -i -e 's/ -shared / -Wl,-O1,--as-needed\0/g' libtool
23   make
26 package() {
27   cd libXvMC-${pkgver}
28   make DESTDIR="${pkgdir}" install
29   install -m755 -d "${pkgdir}/usr/share/licenses/${pkgname}"
30   install -m644 COPYING "${pkgdir}/usr/share/licenses/${pkgname}/"