From d4c88a78dac3584ab65d02708557048b8edad30f Mon Sep 17 00:00:00 2001 From: Luke Shumaker Date: Fri, 11 Jan 2013 09:45:06 -0500 Subject: fix libre/dpkg (pkgrel 1.1->1.2) to work with gpg2 as the default gpg --- libre/dpkg/PKGBUILD | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) (limited to 'libre/dpkg/PKGBUILD') diff --git a/libre/dpkg/PKGBUILD b/libre/dpkg/PKGBUILD index aa82d36e6..5d7534534 100644 --- a/libre/dpkg/PKGBUILD +++ b/libre/dpkg/PKGBUILD @@ -16,14 +16,14 @@ pkgver=1.16.9 url="http://packages.debian.org/source/sid/dpkg" _debrepo=http://ftp.debian.org/debian/pool/main # Debian Sid -pkgrel=1.1 +pkgrel=1.2 debfile() { echo "${_debrepo}/${1:0:1}/${1}/${1}_${2}"; } arch=('i686' 'x86_64' 'mips64el') depends=('bzip2' 'xz' 'zlib' 'ncurses') checkdepends=('perl-test-pod') makedepends=('perl-io-string' 'perl-timedate') source=("$(debfile ${pkgbase} ${pkgver}).tar.xz" - dpkg-gzip-rsyncable.patch) + dpkg-gzip-rsyncable.patch dpkg-gpg2.patch) ###################################################################### @@ -79,7 +79,8 @@ _debhelper_install() { build() { cd "${srcdir}/${pkgbase}-${pkgver}" - patch -p0 -i "${srcdir}/dpkg-gzip-rsyncable.patch" + patch -Np0 -i "${srcdir}/dpkg-gzip-rsyncable.patch" + patch -Np1 -i "${srcdir}/dpkg-gpg2.patch" ./configure --prefix=/usr --sysconfdir=/etc --localstatedir=/var --with-zlib --with-bz2 --with-liblzma make @@ -122,4 +123,5 @@ package_perl-dpkg() { } md5sums=('4df9319b2d17e19cdb6fe94dacee44da' - '5ab63758999e9bb10f84bce79a0307b2') + '5ab63758999e9bb10f84bce79a0307b2' + '74b7ce3045690a8fc290104f10cf8d42') -- cgit v1.2.3