blob: 74c14cdb83908197ec2eafc4fa444cd6ad055653 (
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
30
31
32
33
34
35
36
37
38
|
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=xev
pkgver=1.0.3
pkgrel=2
pkgdesc="print contents of X events"
url="http://xorg.freedesktop.org/"
arch="all"
license="custom"
subpackages="$pkgname-doc"
makedepends="libx11-dev"
depends=
source="http://xorg.freedesktop.org/releases/individual/app/$pkgname-$pkgver.tar.bz2"
_builddir="$srcdir/$pkgname-$pkgver"
prepare() {
cd "$_builddir"
update_config_sub || return 1
}
build() {
cd "$_builddir"
./configure \
--build=$CBUILD \
--host=$CHOST \
--prefix=/usr \
--mandir=/usr/share/man \
|| return 1
make || return 1
}
package() {
cd "$_builddir"
make DESTDIR="$pkgdir" install || return 1
}
md5sums="a9532c3d1683c99bb5df1895cb3a60b1 xev-1.0.3.tar.bz2"
sha256sums="d4ac7ae154ee9733be27a5f55586abb9362c768f5fb8a4fc7fd2645100a9313a xev-1.0.3.tar.bz2"
sha512sums="b4668691ffa8a9687cc3709da6a321e43b349ba2733c5e57977c1712a68007295c1ec4984f81f0559bb4c8c4a90720a02797c1163baba4d309f2e1cdb25ac17e xev-1.0.3.tar.bz2"
|