summaryrefslogtreecommitdiff
path: root/extra/xorg-xev/PKGBUILD
blob: f817360e1c955bf4a22e9250249579a98ccbb7ef (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 176326 2013-01-30 00:25:00Z bisson $
# Contributor: Jan de Groot <jgc@archlinux.org>
# Maintainer: Gaetan Bisson <bisson@archlinux.org>

pkgname=xorg-xev
pkgver=1.2.1
pkgrel=1
pkgdesc='Print contents of X events'
url='http://xorg.freedesktop.org/'
arch=('i686' 'x86_64' 'mips64el')
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"
}