[arch-commits] Commit in mcrypt/trunk (PKGBUILD mcrypt-2.6.4-destdirfix.patch)

Andrea Scarpino andrea at archlinux.org
Thu Apr 2 11:08:34 EDT 2009


    Date: Thursday, April 2, 2009 @ 11:08:34
  Author: andrea
Revision: 32899

upgpkg: mcrypt 2.6.8-1

Modified:
  mcrypt/trunk/PKGBUILD
Deleted:
  mcrypt/trunk/mcrypt-2.6.4-destdirfix.patch

-------------------------------+
 PKGBUILD                      |   17 ++++++++---------
 mcrypt-2.6.4-destdirfix.patch |   11 -----------
 2 files changed, 8 insertions(+), 20 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2009-04-02 13:41:13 UTC (rev 32898)
+++ PKGBUILD	2009-04-02 15:08:34 UTC (rev 32899)
@@ -1,26 +1,25 @@
 # $Id$
-# Maintainer: Jan de Groot <jgc at archlinux.org>
+# Maintainer: Andrea Scarpino <andrea at archlinux.org>
+# Contributor: Jan de Groot <jgc at archlinux.org>
 # Contributor: Tom Newsom <Jeepster at gmx.co.uk>
 
 pkgname=mcrypt
-pkgver=2.6.5
+pkgver=2.6.8
 pkgrel=1
-pkgdesc="mcrypt is a program for encrypting files or streams"
+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/mcrypt/${pkgname}-${pkgver}.tar.bz2
-	mcrypt-2.6.4-destdirfix.patch)
-md5sums=('19d9f0b15fe68a7cae7e9faa02859c89' '36f2a201cc6ada4280c82f458b0cbe05')
+source=(http://downloads.sourceforge.net/$pkgname/${pkgname}-${pkgver}.tar.gz)
+md5sums=('97639f8821b10f80943fa17da302607e')
 
 build() {
-  cd ${startdir}/src/${pkgname}-${pkgver}
+  cd ${srcdir}/${pkgname}-${pkgver}
   aclocal -I ./m4 || return 1
   autoconf || return 1
   automake --force --copy || return 1
-  patch -Np1 -i ${startdir}/src/mcrypt-2.6.4-destdirfix.patch || return 1
   ./configure --prefix=/usr
   make || return 1
-  make DESTDIR=${startdir}/pkg install
+  make DESTDIR=${pkgdir} install
 }

Deleted: mcrypt-2.6.4-destdirfix.patch
===================================================================
--- mcrypt-2.6.4-destdirfix.patch	2009-04-02 13:41:13 UTC (rev 32898)
+++ mcrypt-2.6.4-destdirfix.patch	2009-04-02 15:08:34 UTC (rev 32899)
@@ -1,11 +0,0 @@
---- mcrypt-2.6.4/Makefile.in.BAD	2005-09-22 17:58:15.000000000 -0500
-+++ mcrypt-2.6.4/Makefile.in	2005-09-22 17:58:25.000000000 -0500
-@@ -552,7 +552,7 @@
- 
- install-exec-hook:
- 	-$(RM) -f $(bindir)/mdecrypt
--	$(LN_S) mcrypt $(bindir)/mdecrypt
-+	$(LN_S) mcrypt $(DESTDIR)$(bindir)/mdecrypt
- uninstall-local:
- 	-$(RM) -f $(bindir)/mdecrypt
- 



More information about the arch-commits mailing list