blob: 53597f85b29fa88fffc27926949083f4973295f0 (
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
|
# $Id$
# Maintainer: AndyRTR <andyrtr@archlinux.org>
pkgname=presentproto
pkgver=1.0
pkgrel=1
pkgdesc="X11 Present protocol specification"
arch=('any')
url="http://xorg.freedesktop.org/"
license=('custom')
source=(${url}/releases/individual/proto/${pkgname}-${pkgver}.tar.bz2
COPYING)
sha256sums=('812c7d48721f909a0f7a2cb1e91f6eead76159a36c4712f4579ca587552839ce'
'5e46864ede2fda46c3cb7cfe3a7b9f9e4bd36d8d21d8010a284caa64b81d465a')
build() {
cd $pkgname-$pkgver
./configure --prefix=/usr
make
}
package() {
cd $pkgname-$pkgver
make DESTDIR="$pkgdir/" install
# license is still missing
# COPYING is taken from top of /usr/include/X11/extensions/presentproto.h
install -m755 -d "${pkgdir}/usr/share/licenses/${pkgname}"
install -m644 ${srcdir}/COPYING "${pkgdir}/usr/share/licenses/${pkgname}/"
}
|