OCaml 4.14.0 rebuild
[arch-packages.git] / libxp / repos / extra-x86_64 / PKGBUILD
blob67095e8f01729f471d2f1f87f8d053477602e102
1 # Maintainer: AndyRTR <andyrtr@archlinux.org>
2 # Maintainer: Jan de Groot <jgc@archlinux.org>
4 pkgname=libxp
5 pkgver=1.0.3
6 pkgrel=5
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 source=(${url}/releases/individual/lib/libXp-${pkgver}.tar.bz2{,.sig}
14         add-proto-files.patch)
15 license=('custom')
16 sha512sums=('502a2500ec0f519dae69ac035bf93c65c47e3bc301604aacb350e90043455f3485626194db45208e5521300b282843825e08b7f7c412a7497ffa02f5f1560c8d'
17             'SKIP'
18             'e2b1bf1d132f2a219901feb8bf4eaf08cd795521bb6175627a82d745d422ad189c6d24ad221d5804b5e32f5798ad75bc733bb94b3505453fa57c5b7951bdece8')
19 validpgpkeys=('3BB639E56F861FA2E86505690FDD682D974CA72A') #  "Matt Turner <mattst88@gmail.com>"
21 prepare() {
22   cd libXp-${pkgver}
23   patch -Np1 -i ../add-proto-files.patch
24   autoreconf -vfi
27 build() {
28   cd libXp-${pkgver}
29   ./configure --prefix=/usr
30   make
33 package() {
34   cd libXp-${pkgver}
35   make DESTDIR="${pkgdir}" install
36   install -m755 -d "${pkgdir}/usr/share/licenses/${pkgname}"
37   install -m644 COPYING "${pkgdir}/usr/share/licenses/${pkgname}/"