summaryrefslogtreecommitdiff
path: root/community/libgringotts/PKGBUILD
blob: e7f5c9b8464d0cb6810d054674cfd1fe3444bb7a (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')
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
  make
}

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

  make DESTDIR="${pkgdir}" install

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