summaryrefslogtreecommitdiff
path: root/extra/xorg-xwininfo/PKGBUILD
blob: 785353a8802396f76342b22393a5ad067a4ad337 (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 113851 2011-03-10 16:03:22Z jgc $
# Maintainer: Jan de Groot <jgc@archlinux.org>

pkgname=xorg-xwininfo
pkgver=1.1.1
pkgrel=2
pkgdesc="Command-line utility to print information about windows on an X server"
arch=(i686 x86_64)
url="http://xorg.freedesktop.org/"
license=('custom')
depends=('libxcb')
makedepends=('xorg-util-macros' 'libx11')
groups=('xorg-apps' 'xorg')
source=(http://xorg.freedesktop.org/archive/individual/app/xwininfo-${pkgver}.tar.bz2)
sha1sums=('945e5d51632876e304e001003c8068f34ffe299e')

build() {
  cd "${srcdir}/xwininfo-${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}/"
}