summaryrefslogtreecommitdiffstats
path: root/abs/core/dmxproto/PKGBUILD
blob: 42ee7fa60cb8854606e80d1e04d8c46878e11f29 (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
# $Id: PKGBUILD 356 2008-04-18 22:56:27Z aaron $
#Maintainer: Jan de Groot <jgc@archlinux.org>

pkgname=dmxproto
pkgver=2.3
pkgrel=1
pkgdesc="X11 Distributed Multihead X extension wire protocol"
arch=('i686' 'x86_64')
url="http://xorg.freedesktop.org/"
source=(${url}/releases/individual/proto/${pkgname}-${pkgver}.tar.bz2)

build() {
  cd ${startdir}/src/${pkgname}-${pkgver}
  ./configure --prefix=/usr || return 1
  make || return 1
}
package() {
  cd ${startdir}/src/${pkgname}-${pkgver}
  make DESTDIR=${startdir}/pkg install || return 1

  install -m755 -d "${pkgdir}/usr/share/licenses/${pkgname}"
  install -m644 COPYING "${pkgdir}/usr/share/licenses/${pkgname}/" || return 1
}
md5sums=('880a41720b2937e2660dcdc0d34a8791')