archrelease: copy trunk to extra-x86_64
[arch-packages.git] / libxpm / trunk / PKGBUILD
blob9b33e0433ff39fc8ca521d2348182afd7786a346
1 # Maintainer: Andreas Radke <andyrtr@archlinux.org>
2 # Maintainer: Jan de Groot <jgc@archlinux.org>
4 pkgname=libxpm
5 pkgver=3.5.13
6 pkgrel=3
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.bz2{,.sig})
14 sha512sums=('3b8f6e926272f39b1d95135c2274c00f5aaee1f9fb2ef79f71628df5edeb7ba20158819ef6a778101cc4092493a3b5b613c53634fdccadcc0fc85f0605e5e9a5'
15             'SKIP')
16 validpgpkeys=('C41C985FDCF1E5364576638B687393EE37D128F8') # Matthieu Herrb <matthieu.herrb@laas.fr>
17 validpgpkeys+=('3C2C43D9447D5938EF4551EBE23B7E70B467F0BF') # "Peter Hutterer (Who-T) <office@who-t.net>"
19 build() {
20   cd libXpm-${pkgver}
21   ./configure --prefix=/usr --sysconfdir=/etc --disable-static
22   make
25 check() {
26   cd libXpm-${pkgver}
27   make check
30 package() {
31   cd libXpm-${pkgver}
32   make DESTDIR="${pkgdir}" install
34   install -m755 -d "${pkgdir}"/usr/share/licenses/${pkgname}
35   install -m644 COPYING "${pkgdir}"/usr/share/licenses/${pkgname}/