PKGBUILDs/extra/mcrypt/PKGBUILD

26 lines
750 B
Bash
Raw Normal View History

2009-10-10 02:23:22 +00:00
# $Id: PKGBUILD 32900 2009-04-02 15:09:37Z andrea $
# 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
}