summaryrefslogtreecommitdiffstats
path: root/abs/core/dmxproto/PKGBUILD
blob: 1298da8977376cb4274b581840c6928986baddc9 (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
# $Id: PKGBUILD 151184 2012-02-25 07:03:52Z pierre $
#Maintainer: Jan de Groot <jgc@archlinux.org>

pkgname=dmxproto
pkgver=2.3.1
pkgrel=2
pkgdesc="X11 Distributed Multihead X extension wire protocol"
arch=('any')
makedepends=('xorg-util-macros')
url="http://xorg.freedesktop.org/"
license=('custom')
source=("${url}/releases/individual/proto/${pkgname}-${pkgver}.tar.bz2")
sha1sums=('3b8b273b8ef3d8dbab998df9ec1dddf99edf4d91')

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

package() {
  cd "${srcdir}/${pkgname}-${pkgver}"
  make DESTDIR="${pkgdir}" install

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