[arch-commits] CVS update of core/base/libarchive (PKGBUILD no_uudecode.patch)
Dan McGee
dan at archlinux.org
Tue Feb 26 03:35:28 UTC 2008
Date: Monday, February 25, 2008 @ 22:35:28
Author: dan
Path: /home/cvs-core/core/base/libarchive
Added: no_uudecode.patch (1.1)
Modified: PKGBUILD (1.10 -> 1.11)
upgpkg: libarchive 2.4.12-1
-------------------+
PKGBUILD | 13 +++++++++----
no_uudecode.patch | 11 +++++++++++
2 files changed, 20 insertions(+), 4 deletions(-)
Index: core/base/libarchive/PKGBUILD
diff -u core/base/libarchive/PKGBUILD:1.10 core/base/libarchive/PKGBUILD:1.11
--- core/base/libarchive/PKGBUILD:1.10 Tue Jan 1 21:58:43 2008
+++ core/base/libarchive/PKGBUILD Mon Feb 25 22:35:27 2008
@@ -1,8 +1,8 @@
-# $Id: PKGBUILD,v 1.10 2008/01/02 02:58:43 dan Exp $
+# $Id: PKGBUILD,v 1.11 2008/02/26 03:35:27 dan Exp $
# Maintainer: Dan McGee <dan at archlinux.org>
# Maintainer: Aaron Griffin <aaron at archlinux.org>
pkgname=libarchive
-pkgver=2.4.11
+pkgver=2.4.12
pkgrel=1
pkgdesc="library that can create and read several streaming archive formats"
arch=(i686 x86_64)
@@ -10,7 +10,8 @@
license=('BSD')
groups=('base')
depends=('zlib' 'bzip2' 'acl')
-source=(http://people.freebsd.org/~kientzle/libarchive/src/libarchive-$pkgver.tar.gz)
+source=(http://people.freebsd.org/~kientzle/libarchive/src/libarchive-$pkgver.tar.gz
+ no_uudecode.patch)
# The libarchive .a static lib isn't linked correctly, so pacman.static
# build fails unless we keep the libtool files
@@ -19,6 +20,9 @@
build() {
cd $startdir/src/$pkgname-$pkgver
./configure --prefix=/usr
+ # patch out the parts that require uudecode (from sharutils, in extra)
+ patch -Np0 < ../no_uudecode.patch
+
make || return 1
make DESTDIR=$startdir/pkg install
@@ -27,4 +31,5 @@
install -m644 COPYING $startdir/pkg/usr/share/licenses/libarchive/
}
-md5sums=('139eb1c7a7a7f45e75c0a7e7f98d6c0d')
+md5sums=('3f8dc6737bc0fd031b7e64b143eade02'
+ '3230aff2a038bae9c2459abba8c6f341')
Index: core/base/libarchive/no_uudecode.patch
diff -u /dev/null core/base/libarchive/no_uudecode.patch:1.1
--- /dev/null Mon Feb 25 22:35:28 2008
+++ core/base/libarchive/no_uudecode.patch Mon Feb 25 22:35:28 2008
@@ -0,0 +1,11 @@
+--- Makefile.old 2008-02-25 21:31:39.000000000 -0600
++++ Makefile 2008-02-25 21:32:02.000000000 -0600
+@@ -454,7 +454,7 @@
+ #
+ lib_LTLIBRARIES = libarchive.la
+ man_MANS = $(libarchive_man_MANS) $(bsdtar_man_MANS) $(bsdcpio_man_MANS)
+-BUILT_SOURCES = libarchive/test/list.h tar/test/list.h cpio/test/list.h $(libarchive_REFFILES)
++BUILT_SOURCES = libarchive/test/list.h tar/test/list.h cpio/test/list.h
+ TESTS_ENVIRONMENT = $(libarchive_TESTS_ENVIRONMENT) $(bsdtar_TESTS_ENVIRONMENT) $(bsdcpio_TESTS_ENVIRONMENT)
+ # Always build and test both bsdtar and bsdcpio as part of 'distcheck'
+ DISTCHECK_CONFIGURE_FLAGS = --enable-bsdtar --enable-bsdcpio
More information about the arch-commits
mailing list