blob: acc14daef7bd338c7692c7c7c2793d7c4cda7f06 (
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
|
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=inputproto
pkgver=2.3.1
pkgrel=0
pkgdesc="X11 Input extension wire protocol"
url="http://xorg.freedesktop.org/"
arch="noarch"
license="MIT"
source="http://xorg.freedesktop.org/releases/individual/proto/$pkgname-$pkgver.tar.bz2"
_builddir="$srcdir/$pkgname-$pkgver"
prepare() {
cd "$_builddir"
}
build() {
cd "$_builddir"
./configure \
--build=$CBUILD \
--host=$CHOST \
--prefix=/usr \
|| return 1
make || return 1
}
package() {
cd "$_builddir"
make DESTDIR="$pkgdir" install || return 1
install -m755 -d "$pkgdir"/usr/share/licenses/$pkgname
install -Dm644 COPYING "$pkgdir"/usr/share/licenses/$pkgname/COPYING
}
md5sums="6caebead4b779ba031727f66a7ffa358 inputproto-2.3.1.tar.bz2"
sha256sums="5a47ee62053a6acef3a83f506312494be1461068d0b9269d818839703b95c1d1 inputproto-2.3.1.tar.bz2"
sha512sums="84f8acff3d54e929af6da088624adcd8dffe2eba0d9ef672e136f76d12f3814fbf6a7962de27becfaa0aa5e70d874eb5297d9eed8809576d7b0d96f8c29d9d72 inputproto-2.3.1.tar.bz2"
|