summaryrefslogtreecommitdiff
path: root/extra/xorg-xwd/PKGBUILD
blob: 7d95f9c256dcec847c7a81411179d8c125892758 (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 150997 2012-02-24 12:58:04Z allan $
# Maintainer: Jan de Groot <jgc@archlinux.org>

pkgname=xorg-xwd
pkgver=1.0.5
pkgrel=2
pkgdesc="X Window System image dumping utility"
arch=('i686' 'x86_64' 'mips64el')
url="http://xorg.freedesktop.org/"
license=('custom')
depends=('libx11')
makedepends=('xorg-util-macros' 'libxt')
groups=('xorg-apps' 'xorg')
source=(http://xorg.freedesktop.org/archive/individual/app/xwd-${pkgver}.tar.bz2)
sha1sums=('3b0e4f3f9d28a07444e72952342e21544d4785b6')

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

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