# Maintainer: Jesus E. pkgname=libmcrypt pkgver=2.5.8 pkgrel=1 pkgdesc="A library which provides a uniform interface to several symmetric encryption algorithms" url="http://mcrypt.sourceforge.net/" arch=('i686' 'x86_64') license=('LGPL-2.1') depends=('glibc') options=('!emptydirs') source=("https://downloads.sourceforge.net/mcrypt/${pkgname}-${pkgver}.tar.bz2") sha512sums=('6c05c42767401d66af67b0922b207d17cdb1c3efdbfdfb5b0c2e651821c48a8a6c6749debfa0206091b8a801f538fabe9f7d95ebc86d82c6b84c8001031d50fe') build() { cd ${pkgname}-${pkgver} ./configure --prefix=/usr --mandir=/usr/share/man make } package() { cd ${pkgname}-${pkgver} make DESTDIR="${pkgdir}" install install -Dm644 COPYING.LIB -t "$pkgdir/usr/share/licenses/$pkgname" }