PKGBUILD 789 Bytes
Newer Older
Neophytos's avatar
Neophytos committed
1 2
# Part of the X.org group
# Maintainer: Neophytos Kolokotronis <tetris4 AT gmail DOT com>
3

Jan Mette's avatar
Jan Mette committed
4
pkgname=libxcursor
Neophytos's avatar
Neophytos committed
5
pkgver=1.1.14
Jan Mette's avatar
Jan Mette committed
6 7
pkgrel=1
pkgdesc="X cursor management library"
Neophytos's avatar
Neophytos committed
8
arch=(x86_64)
Jan Mette's avatar
Jan Mette committed
9 10 11
url="http://xorg.freedesktop.org/"
license=('custom')
depends=('libxfixes' 'libxrender')
12
makedepends=('xorg-util-macros')
Jan Mette's avatar
Jan Mette committed
13 14
options=('!libtool')
source=(${url}/releases/individual/lib/libXcursor-${pkgver}.tar.bz2)
Neophytos's avatar
Neophytos committed
15
sha1sums=('89870756758439f9216ddf5f2d3dca56570fc6b7')
Jan Mette's avatar
Jan Mette committed
16 17 18

build() {
  cd "${srcdir}/libXcursor-${pkgver}"
19 20
  ./configure --prefix=/usr --sysconfdir=/etc --disable-static
  make
Neophytos's avatar
Neophytos committed
21 22 23 24
}

package() {
  cd "${srcdir}/libXcursor-${pkgver}"
25
  make DESTDIR="${pkgdir}" install
Jan Mette's avatar
Jan Mette committed
26 27

  install -m755 -d "${pkgdir}/usr/share/licenses/${pkgname}"
28
  install -m644 COPYING "${pkgdir}/usr/share/licenses/${pkgname}/"
Jan Mette's avatar
Jan Mette committed
29
}