summaryrefslogtreecommitdiffstats
path: root/abs/core/libxfixes/PKGBUILD
blob: 5565ebbb847dad093325164f2da8f6e99a86daf0 (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 82357 2010-06-10 12:31:08Z jgc $
#Maintainer: Jan de Groot <jgc@archlinux.org>

pkgname=libxfixes
pkgver=4.0.5
pkgrel=3
pkgdesc="X11 miscellaneous 'fixes' extension library"
arch=('i686' 'x86_64')
url="http://xorg.freedesktop.org/"
license=('custom')
depends=('libx11>=1.3.4' 'fixesproto>=4.1.1')
makedepends=('pkg-config')
options=('!libtool')
source=(${url}/releases/individual/lib/libXfixes-${pkgver}.tar.bz2)
sha1sums=('255dfb9a8c50d795c60711ec4764f76cd0620cbf')

build() {
  cd "${srcdir}/libXfixes-${pkgver}"
  ./configure --prefix=/usr --sysconfdir=/etc --disable-static || return 1
  make || return 1
}
package() {
  cd "${srcdir}/libXfixes-${pkgver}"
  make DESTDIR="${pkgdir}" install || return 1

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