aboutsummaryrefslogtreecommitdiffstats
path: root/main/inputproto/APKBUILD
blob: 52e6dad7561359c08ca3b19405d7a8e9fcc41775 (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
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=inputproto
pkgver=2.3
pkgrel=0
pkgdesc="X11 Input extension wire protocol"
url="http://xorg.freedesktop.org/"
arch="noarch"
license="custom"
source="http://xorg.freedesktop.org/releases/individual/proto/$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 \
		|| return 1
	make || return 1
}

package() {
	cd "$srcdir"/$pkgname-$pkgver
	make DESTDIR="$pkgdir" install || return 1
	install -m755 -d "$pkgdir"/usr/share/licenses/$pkgname
	install -Dm644 COPYING "$pkgdir"/usr/share/licenses/$pkgname/COPYING
}
md5sums="94db391e60044e140c9854203d080654  inputproto-2.3.tar.bz2"
sha256sums="7d26b193f6699f8e9c1e28bf026844b7ecea33dd644402523471be109152c32f  inputproto-2.3.tar.bz2"
sha512sums="4bc3986a49273777850342cfa086641eeba0fd95ad428a2f025bd44e9ea04516cb6e190b3fd2a99fe21c63d9fe4010bebe57aefe3807050d00f8b301289ec43a  inputproto-2.3.tar.bz2"