summaryrefslogtreecommitdiffstats
path: root/abs/core/libmcrypt/PKGBUILD
diff options
context:
space:
mode:
authorJames Meyer <james.meyer@operamail.com>2012-08-07 15:02:33 (GMT)
committerJames Meyer <james.meyer@operamail.com>2012-08-07 15:02:33 (GMT)
commit4647f2d3ae0bf39bacda0604de0662e6a35b67e0 (patch)
tree1a7dfe223cf28130736001278adeef10e795ead2 /abs/core/libmcrypt/PKGBUILD
parent62eebb5008f03daadd268ccd1b6be9ed31c235c3 (diff)
downloadlinhes_pkgbuild-4647f2d3ae0bf39bacda0604de0662e6a35b67e0.zip
linhes_pkgbuild-4647f2d3ae0bf39bacda0604de0662e6a35b67e0.tar.gz
linhes_pkgbuild-4647f2d3ae0bf39bacda0604de0662e6a35b67e0.tar.bz2
libmcrypt 2.5.8
Diffstat (limited to 'abs/core/libmcrypt/PKGBUILD')
-rw-r--r--abs/core/libmcrypt/PKGBUILD34
1 files changed, 22 insertions, 12 deletions
diff --git a/abs/core/libmcrypt/PKGBUILD b/abs/core/libmcrypt/PKGBUILD
index bdacb84..aae4586 100644
--- a/abs/core/libmcrypt/PKGBUILD
+++ b/abs/core/libmcrypt/PKGBUILD
@@ -1,22 +1,32 @@
-# $Id: PKGBUILD 356 2008-04-18 22:56:27Z aaron $
-# Maintainer: Jan de Groot <jgc@archlinux.org>
+# $Id: PKGBUILD 136970 2011-09-04 11:35:09Z pierre $
+# Maintainer: Andrea Scarpino <andrea@archlinux.org>
+# Contributor: Jan de Groot <jgc@archlinux.org>
# Contributor: Tom Newsom <Jeepster@gmx.co.uk>
pkgname=libmcrypt
pkgver=2.5.8
-pkgrel=1
+pkgrel=3
pkgdesc="A library which provides a uniform interface to several symmetric encryption algorithms"
-arch=(i686 x86_64)
-license=('LGPL')
-depends=('glibc')
-options=('!libtool')
-source=(http://heanet.dl.sourceforge.net/mcrypt/${pkgname}-${pkgver}.tar.bz2)
url="http://mcrypt.sourceforge.net/"
+arch=('i686' 'x86_64')
+license=('GPL')
+depends=('glibc')
+options=('!libtool' '!emptydirs')
+source=("http://downloads.sourceforge.net/mcrypt/${pkgname}-${pkgver}.tar.bz2")
md5sums=('c4f491dd411a09e9de3b8702ea6f73eb')
build() {
- cd ${startdir}/src/${pkgname}-${pkgver}
- ./configure --prefix=/usr
- make || return 1
- make DESTDIR=${startdir}/pkg install
+ cd ${srcdir}/${pkgname}-${pkgver}
+ ./configure --prefix=/usr --mandir=/usr/share/man
+ make
+}
+
+check() {
+ cd ${srcdir}/${pkgname}-${pkgver}
+ make check
+}
+
+package() {
+ cd ${srcdir}/${pkgname}-${pkgver}
+ make DESTDIR=${pkgdir} install
}