aboutsummaryrefslogtreecommitdiffstats
path: root/main/inputproto/APKBUILD
blob: 94775c1e5f392125f03dbbf6028a456b06802b28 (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
# 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"

build() {
	cd "$srcdir"/$pkgname-$pkgver
	./configure --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"