blob: 33b6736ec2e99dac67fd2cb54184b11a8d50eaf6 (
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
28
29
30
|
# $Id: PKGBUILD 151009 2012-02-24 13:13:47Z allan $
# Maintainer: Jan de Groot <jgc@archlinux.org>
pkgname=xorg-xpr
pkgver=1.0.3
pkgrel=3
pkgdesc="Print an X window dump from xwd"
arch=(i686 x86_64 'mips64el')
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
}
package() {
cd "${srcdir}/xpr-${pkgver}"
make DESTDIR="${pkgdir}" install
install -Dm644 COPYING "${pkgdir}/usr/share/licenses/${pkgname}/COPYING"
}
|