summaryrefslogtreecommitdiff
path: root/extra/xorg-xev/PKGBUILD
blob: d6bf3dabfbaff02af49195c53a639426a3271e83 (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
# $Id: PKGBUILD 215760 2014-06-30 11:43:49Z bisson $
# Contributor: Jan de Groot <jgc@archlinux.org>
# Maintainer: Gaetan Bisson <bisson@archlinux.org>

pkgname=xorg-xev
pkgver=1.2.1
pkgrel=2
pkgdesc='Print contents of X events'
url='http://xorg.freedesktop.org/'
arch=('i686' 'x86_64')
license=('custom')
depends=('libx11' 'libxrandr')
makedepends=('xorg-util-macros' 'xproto')
source=("http://xorg.freedesktop.org/archive/individual/app/xev-${pkgver}.tar.bz2")
sha1sums=('7ae6233ccfd8f500d547093291cc2de4f2b8fbaa')

groups=('xorg-apps' 'xorg')

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

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