mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2026-05-05 04:16:46 +02:00
main/presentproto: new aport
needed for xorg-server 1.15
This commit is contained in:
parent
894ae45be6
commit
95b2edfbb1
35
main/presentproto/APKBUILD
Normal file
35
main/presentproto/APKBUILD
Normal file
@ -0,0 +1,35 @@
|
||||
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
|
||||
pkgname=presentproto
|
||||
pkgver=1.0
|
||||
pkgrel=0
|
||||
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"
|
||||
Loading…
x
Reference in New Issue
Block a user