db-move: moved seahorse from [testing] to [extra] (x86_64)
[arch-packages.git] / libxp / repos / extra-x86_64 / PKGBUILD
blob7a0c90529888b8fb2d6c40f6c375dbd8d5d6ea68
1 # Maintainer: AndyRTR <andyrtr@archlinux.org>
2 # Contributor: Jan de Groot <jgc@archlinux.org>
4 pkgname=libxp
5 pkgver=1.0.4
6 pkgrel=2
7 pkgdesc="X11 X Print Library"
8 arch=('x86_64')
9 license=('custom')
10 url="https://xorg.freedesktop.org/"
11 depends=('libxext')
12 makedepends=('xorg-util-macros' 'xorgproto')
13 provides=('libXp.so')
14 options=('debug')
15 source=(${url}/releases/individual/lib/libXp-${pkgver}.tar.xz{,.sig}
16         add-proto-files.patch)
17 sha512sums=('50e82e7ee7222db13a04f6223ae8653eb783593c3b28825d7fc233af188960bec53d2b11ced281e01140d283d840d0e3822d71f95f5045d594fb704485fd0f89'
18             'SKIP'
19             '4347b6928d9cffa610e8dec7524d3897d2bbcdb6ee24a1e801bb28a5c5dc0a7a692cb1d0d5dddca2cbf6484c3604bbb3b3b4b62cd566d807167c3636b2247004')
20 #validpgpkeys=('3BB639E56F861FA2E86505690FDD682D974CA72A') #  "Matt Turner <mattst88@gmail.com>"
21 validpgpkeys=('4A193C06D35E7C670FA4EF0BA2FB9E081F2D130E') # Alan Coopersmith <alan.coopersmith@oracle.com>
23 prepare() {
24   cd libXp-${pkgver}
25   patch -Np1 -i ../add-proto-files.patch
26   autoreconf -vfi
29 build() {
30   cd libXp-${pkgver}
31   ./configure --prefix=/usr
32   make
35 package() {
36   cd libXp-${pkgver}
37   make DESTDIR="${pkgdir}" install
38   install -m755 -d "${pkgdir}/usr/share/licenses/${pkgname}"
39   install -m644 COPYING "${pkgdir}/usr/share/licenses/${pkgname}/"