summaryrefslogtreecommitdiffstats
path: root/abs/core/xorg-xpr/PKGBUILD
blob: 9fa513a38e93f7fc8d89f90fdbbcf8099d305866 (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
# $Id: $
# 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')
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}/"
}