mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2026-01-08 10:12:59 +01:00
36 lines
960 B
Plaintext
36 lines
960 B
Plaintext
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
|
|
pkgname=presentproto
|
|
pkgver=1.0
|
|
pkgrel=1
|
|
pkgdesc="Present protocol specification and Xlib/Xserver headers"
|
|
url="http://xorg.freedesktop.org/"
|
|
arch="noarch"
|
|
license="custom"
|
|
depends=""
|
|
makedepends=""
|
|
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
|
|
}
|
|
md5sums="2d569c75884455c7148d133d341e8fd6 presentproto-1.0.tar.bz2"
|
|
sha256sums="812c7d48721f909a0f7a2cb1e91f6eead76159a36c4712f4579ca587552839ce presentproto-1.0.tar.bz2"
|
|
sha512sums="6d6b3cb78ff7c6ad8103d0003479f94702aea412640feec5d82cb630c9560fd0e1f7b6124e9eaba138adc9bf61ee08ef193537c2754c9b79737ef871c5114c59 presentproto-1.0.tar.bz2"
|