summaryrefslogtreecommitdiffstats
path: root/abs/core/xproto/PKGBUILD
blob: b29feb08acaad9eea05ac65db7fd25ac6e3a162c (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
# $Id: PKGBUILD 99386 2010-11-14 16:32:03Z jgc $
# Maintainer: Jan de Groot <jgc@archlinux.org>

pkgname=xproto
pkgver=7.0.19
pkgrel=1
pkgdesc="X11 core wire protocol and auxiliary headers"
arch=(any)
license=('custom')
url="http://xorg.freedesktop.org/"
source=(${url}/releases/individual/proto/${pkgname}-${pkgver}.tar.bz2)
sha1sums=('c080da482474dd422cb90b52202bd616cf0854e1')

build() {
  cd "${srcdir}/${pkgname}-${pkgver}"
  ./configure --prefix=/usr
  make || return 1
}
package() {
  cd "${srcdir}/${pkgname}-${pkgver}"
  make DESTDIR="${pkgdir}" install || return 1

  install -m755 -d "${pkgdir}/usr/share/licenses/${pkgname}"
  install -m644 COPYING "${pkgdir}/usr/share/licenses/${pkgname}/"
}