summaryrefslogtreecommitdiffstats
path: root/abs/core/xf86vidmodeproto/PKGBUILD
blob: 19230e6c674280360bf686a44183c16b79560ed1 (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 151190 2012-02-25 07:08:10Z allan $
#Maintainer: Jan de Groot <jgc@archlinux.org>

pkgname=xf86vidmodeproto
pkgver=2.3.1
pkgrel=2
pkgdesc="X11 Video Mode extension wire protocol"
arch=('any')
url="http://xorg.freedesktop.org/"
license=('custom')
makedepends=('xorg-util-macros')
source=(${url}/releases/individual/proto/${pkgname}-${pkgver}.tar.bz2)
sha1sums=('11d54c3210887631ea71e8f8030a77692e964fc4')

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"
}