summaryrefslogtreecommitdiff
path: root/extra/libdmx/PKGBUILD
blob: 96972796a7e68281fa358fb883506a81f5a5374a (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
28
29
# $Id: PKGBUILD 151404 2012-02-26 10:27:46Z pierre $
#Maintainer: Jan de Groot <jgc@archlinux.org>

pkgname=libdmx
pkgver=1.1.1
pkgrel=2
pkgdesc="X11 Distributed Multihead extension library"
arch=('x86_64' 'i686')
url="http://xorg.freedesktop.org/"
license=('custom')
depends=('dmxproto' 'libxext')
makedepends=('xorg-util-macros')
options=('!libtool')
source=("${url}/releases/individual/lib/${pkgname}-${pkgver}.tar.bz2")
sha1sums=('49aeab743cb8b667829efda140487b69a7148676')

build() {
  cd "${srcdir}/${pkgname}-${pkgver}"
  ./configure --prefix=/usr --disable-static
  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}/"
}