summaryrefslogtreecommitdiffstats
path: root/main/videoproto/APKBUILD
blob: 0c28fbc16ec0111aad3ad5f03229c0c579b88d0f (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.2
pkgrel=2
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="e658641595327d3990eab70fdb55ca8b  videoproto-2.3.2.tar.bz2"
sha256sums="8dae168cb820fcd32f564879afb3f24d27c176300d9af66819a18265539bd4b6  videoproto-2.3.2.tar.bz2"
sha512sums="57ca8981b217724e4e0599624e6d8077aca0f2568855c54b74dbf5e03d25864eb114540b02a49c11487beb03d55d52efc09d8a7fb86a3078a4d52f4a3042ef36  videoproto-2.3.2.tar.bz2"