summaryrefslogtreecommitdiff
path: root/extra/xorg-xwd/PKGBUILD
blob: 1634c5d93f53eb2df1451ea85d7757f3403b05da (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
# $Id: PKGBUILD 113841 2011-03-10 16:01:03Z jgc $
# Maintainer: Jan de Groot <jgc@archlinux.org>

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

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