summaryrefslogtreecommitdiff
path: root/extra/mcrypt/PKGBUILD
blob: 7db28d78cae07962e53b99d9815e5561560b66a5 (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
# $Id: PKGBUILD 32911 2009-04-02 16:16:11Z giovanni $
# Maintainer: Andrea Scarpino <andrea@archlinux.org>
# Contributor: Jan de Groot <jgc@archlinux.org>
# Contributor: Tom Newsom <Jeepster@gmx.co.uk>

pkgname=mcrypt
pkgver=2.6.8
pkgrel=1
pkgdesc="A program for encrypting files or streams"
url="http://mcrypt.sourceforge.net/"
arch=(i686 x86_64)
license=('GPL')
depends=('mhash' 'libmcrypt>=2.5.8' 'zlib')
source=(http://downloads.sourceforge.net/$pkgname/${pkgname}-${pkgver}.tar.gz)
md5sums=('97639f8821b10f80943fa17da302607e')

build() {
  cd ${srcdir}/${pkgname}-${pkgver}
  aclocal -I ./m4 || return 1
  autoconf || return 1
  automake --force --copy || return 1
  ./configure --prefix=/usr
  make || return 1
  make DESTDIR=${pkgdir} install
}