PKGBUILD 721 Bytes
Newer Older
amnon's avatar
amnon committed
1 2 3
#
# Platform Packages for Chakra, part of chakra-project.org
#
Neophytos's avatar
Neophytos committed
4
# Maintainer: Neophytos Kolokotronis <tetris4@gmail.com>
amnon's avatar
amnon committed
5

Jan Mette's avatar
Jan Mette committed
6
pkgname=libxau
Neophytos's avatar
Neophytos committed
7 8
pkgver=1.0.7
pkgrel=1
Jan Mette's avatar
Jan Mette committed
9 10 11 12
pkgdesc="X11 authorisation library"
arch=(i686 x86_64)
url="http://xorg.freedesktop.org/"
depends=('glibc')
Neophytos's avatar
Neophytos committed
13
makedepends=('pkgconfig' 'xproto')
Jan Mette's avatar
Jan Mette committed
14 15 16
license=('custom')
options=('!libtool')
source=(${url}/releases/individual/lib/libXau-${pkgver}.tar.bz2)
Neophytos's avatar
Neophytos committed
17
sha1sums=('29c47207fd246425b906f525b2220235ce4cd0f6')
Jan Mette's avatar
Jan Mette committed
18 19 20

build() {
  cd "${srcdir}/libXau-${pkgver}"
abveritas's avatar
abveritas committed
21 22 23 24 25 26 27
  ./configure --prefix=/usr --sysconfdir=/etc
  make
}

package () {
  cd "${srcdir}/libXau-${pkgver}"
  make DESTDIR="${pkgdir}" install
Jan Mette's avatar
Jan Mette committed
28

Neophytos's avatar
Neophytos committed
29
  install -Dm644 COPYING "${pkgdir}/usr/share/licenses/${pkgname}/COPYING"
Jan Mette's avatar
Jan Mette committed
30
}