summaryrefslogtreecommitdiffstats
path: root/abs/core/randrproto/PKGBUILD
blob: 21829c1c37ed6addc201fc1131082a98525dbebf (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 165116 2012-08-11 08:21:48Z andyrtr $
#Maintainer: Jan de Groot <jgc@archlinux.org>

pkgname=randrproto
pkgver=1.4.0
pkgrel=1
pkgdesc="X11 RandR extension wire protocol"
arch=('any')
license=('custom')
url="http://xorg.freedesktop.org/"
makedepends=('xorg-util-macros')
source=(${url}/releases/individual/proto/${pkgname}-${pkgver}.tar.bz2)
sha256sums=('85c42e8c66a55318ddaf2ce5727beacb25cb1f8555229f778cd1da86478209cf')

build() {
  cd "${srcdir}/${pkgname}-${pkgver}"
  ./configure --prefix=/usr
  make
}

package() {
  cd "${srcdir}/${pkgname}-${pkgver}"
  make DESTDIR="${pkgdir}" install
  install -Dm644 COPYING "${pkgdir}/usr/share/licenses/${pkgname}/COPYING"
}