summaryrefslogtreecommitdiffstats
path: root/abs/core/xorg-xwd/PKGBUILD
blob: 84c4670f2eb0e38eab949a3ca4df885697400cd9 (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$
# Maintainer: Jan de Groot <jgc@archlinux.org>

pkgname=xorg-xwd
pkgver=1.0.6
pkgrel=1
pkgdesc="X Window System image dumping utility"
arch=('i686' 'x86_64')
url="https://xorg.freedesktop.org/"
license=('custom')
depends=('libxkbfile')
makedepends=('xorg-util-macros' 'libxt')
groups=('xorg-apps' 'xorg')
source=(https://xorg.freedesktop.org/archive/individual/app/xwd-${pkgver}.tar.bz2)
sha256sums=('3bb396a2268d78de4b1c3e5237a85f7849d3434e87b3cd1f4d57eef614227d79')

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

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