summaryrefslogtreecommitdiff
path: root/extra/xorg-xpr/PKGBUILD
blob: 11ba4bad5d170c1f8191f21cbcc7235352195e3e (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 155001 2012-04-01 10:04:57Z andyrtr $
# Maintainer: Jan de Groot <jgc@archlinux.org>

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

build() {
  cd "${srcdir}/xpr-${pkgver}"
  ./configure --prefix=/usr
  make
}

package() {
  cd "${srcdir}/xpr-${pkgver}"
  make DESTDIR="${pkgdir}" install
  install -Dm644 COPYING "${pkgdir}/usr/share/licenses/${pkgname}/COPYING"
}