summaryrefslogtreecommitdiff
path: root/community/libgringotts/PKGBUILD
blob: c986c5f9e6eca8d7d7061c0e801506c6cf9272f3 (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
30
# $Id: PKGBUILD 103022 2013-12-25 17:07:40Z jlichtblau $
# Maintainer: Jaroslav Lichtblau <dragonlord@aur.archlinux.org>

pkgname=libgringotts
pkgver=1.2.1
pkgrel=11
pkgdesc="Encryption backend for Gringotts"
arch=('i686' 'x86_64' 'mips64el')
url="http://developer.berlios.de/projects/gringotts"
license=('GPL')
depends=('bzip2' 'libmcrypt' 'mhash' 'zlib')
changelog=$pkgname.changelog
source=(http://download.berlios.de/gringotts/$pkgname-$pkgver.tar.bz2)
md5sums=('b2b1bad56ef33153f251ccd9500860be')

build() {
  cd "${srcdir}"/$pkgname-$pkgver

  autoconf
  ./configure --prefix=/usr --build=$CHOST
  make
}

package() {
  cd "${srcdir}"/$pkgname-$pkgver

  make DESTDIR="${pkgdir}" install

  rm -fr "${pkgdir}"/usr/share
}