summaryrefslogtreecommitdiffstats
path: root/abs/core/libxinerama/PKGBUILD
blob: de37eac1147a97afa608bb6d53afe3ac829f7bff (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
# $Id: PKGBUILD 97812 2010-11-01 22:26:22Z jgc $
# Maintainer: Jan de Groot <jgc@archlinux.org>
# Contributor: Alexander Baldeck <alexander@archlinux.org>
pkgname=libxinerama
pkgver=1.1.1
pkgrel=1
pkgdesc="X11 Xinerama extension library"
arch=(i686 x86_64)
url="http://xorg.freedesktop.org/"
license=('custom')
depends=('libxext' 'xineramaproto')
makedepends=('xorg-util-macros')
options=(!libtool)
source=(${url}/releases/individual/lib/libXinerama-${pkgver}.tar.bz2)
sha1sums=('f030b0cfcce15502aac78188524f32a6f29bd0a4')

build() {
  cd "${srcdir}/libXinerama-${pkgver}"
  ./configure --prefix=/usr
  make
  make DESTDIR="${pkgdir}" install
}
package() {
  cd "${srcdir}/libXinerama-${pkgver}"
  install -m755 -d "${pkgdir}/usr/share/licenses/${pkgname}"
  install -m644 COPYING "${pkgdir}/usr/share/licenses/${pkgname}/"
}