archrelease: copy trunk to extra-x86_64
[arch-packages.git] / libxpm / trunk / PKGBUILD
blob94daca5a12b8b23769a4f01eebcfd3377d464c2a
1 # Maintainer: Andreas Radke <andyrtr@archlinux.org>
2 # Contributor: Jan de Groot <jgc@archlinux.org>
4 pkgname=libxpm
5 pkgver=3.5.16
6 pkgrel=1
7 pkgdesc="X11 pixmap library"
8 arch=('x86_64')
9 license=('custom')
10 url="https://xorg.freedesktop.org/"
11 depends=('libxt' 'libxext')
12 makedepends=('xorg-util-macros')
13 source=(${url}/releases/individual/lib/libXpm-${pkgver}.tar.xz{,.sig})
14 sha512sums=('ee564311f8c1c9c08ed1035d55c287ecf7c20c6fee09ad448acfab59f38fd1ef381d4a24b4af2b581f3033730eebc7c690918e52ba706de689d1ef11085edac2'
15             'SKIP')
16 #validpgpkeys=('C41C985FDCF1E5364576638B687393EE37D128F8') # Matthieu Herrb <matthieu.herrb@laas.fr>
17 #validpgpkeys+=('3C2C43D9447D5938EF4551EBE23B7E70B467F0BF') # "Peter Hutterer (Who-T) <office@who-t.net>"
18 #validpgpkeys=('4A193C06D35E7C670FA4EF0BA2FB9E081F2D130E') # Alan Coopersmith <alan.coopersmith@oracle.com>
19 validpgpkeys=('3BB639E56F861FA2E86505690FDD682D974CA72A') # Matt Turner <mattst88@gmail.com>
21 build() {
22   cd libXpm-${pkgver}
23   ./configure --prefix=/usr \
24     --sysconfdir=/etc \
25     --disable-static \
26     --disable-open-zfile
27   make
30 check() {
31   cd libXpm-${pkgver}
32   # 3 test fails due to disabling compression support from 3.5.15 on
33   make check || /bin/true
36 package() {
37   cd libXpm-${pkgver}
38   make DESTDIR="${pkgdir}" install
40   install -m755 -d "${pkgdir}"/usr/share/licenses/${pkgname}
41   install -m644 COPYING "${pkgdir}"/usr/share/licenses/${pkgname}/