aboutsummaryrefslogtreecommitdiffstats
path: root/main/videoproto/APKBUILD
blob: 567cd2f531414c99613e0b26741391305540d060 (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
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=videoproto
pkgver=2.3.3
pkgrel=0
pkgdesc="X11 Video extension wire protocol"
url="http://xorg.freedesktop.org/"
arch="all"
license="MIT"
depends=""
makedepends=""
source="http://xorg.freedesktop.org//releases/individual/proto/$pkgname-$pkgver.tar.bz2"

_builddir="$srcdir"/$pkgname-$pkgver
build() {
	cd "$_builddir"
	./configure \
		--build=$CBUILD \
		--host=$CHOST \
		--prefix=/usr \
		|| return 1
	make || return 1
}

package() {
	cd "$_builddir"
	make DESTDIR="$pkgdir" install || return 1
}

md5sums="fe86de8ea3eb53b5a8f52956c5cd3174  videoproto-2.3.3.tar.bz2"
sha256sums="c7803889fd08e6fcaf7b68cc394fb038b2325d1f315e571a6954577e07cca702  videoproto-2.3.3.tar.bz2"
sha512sums="84136f7ba15e86ef7e178af4ca70c4c0f0a83fb37e9e39c2564c31762439453c5e7b85934366b711261d454615a57314cf75ac35a17544cb186bad301e920cf5  videoproto-2.3.3.tar.bz2"