summaryrefslogtreecommitdiff
path: root/extra/xorg-xpr/PKGBUILD
blob: 47ed9440b4333c4b61cfd28dd75f1e46a25bb908 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
# $Id: PKGBUILD 113806 2011-03-10 15:48:32Z jgc $
# Maintainer: Jan de Groot <jgc@archlinux.org>

pkgname=xorg-xpr
pkgver=1.0.3
pkgrel=2
pkgdesc="Print an X window dump from xwd"
arch=(i686 x86_64)
url="http://xorg.freedesktop.org/"
license=('custom')
depends=('libx11' 'libxmu')
makedepends=('xorg-util-macros')
groups=('xorg-apps' 'xorg')
source=(http://xorg.freedesktop.org/archive/individual/app/xpr-${pkgver}.tar.bz2
        copyright.patch)
sha1sums=('9dbd0ff136b612285e00d92d0c7675a4207b1c4a'
          'd2649781330400b83cf3553d9cfd6e02dd93a2bd')

build() {
  cd "${srcdir}/xpr-${pkgver}"
  patch -Np1 -i "${srcdir}/copyright.patch"
  ./configure --prefix=/usr
  make
  make DESTDIR="${pkgdir}" install
  install -m755 -d "${pkgdir}/usr/share/licenses/${pkgname}"
  install -m644 COPYING "${pkgdir}/usr/share/licenses/${pkgname}/"
}