diff options
Diffstat (limited to 'dpkg')
| -rw-r--r-- | dpkg/.SRCINFO | 28 | ||||
| -rw-r--r-- | dpkg/PKGBUILD | 52 | ||||
| -rw-r--r-- | dpkg/dpkg-gzip-rsyncable.patch | 11 |
3 files changed, 91 insertions, 0 deletions
diff --git a/dpkg/.SRCINFO b/dpkg/.SRCINFO new file mode 100644 index 0000000..5c3f238 --- /dev/null +++ b/dpkg/.SRCINFO @@ -0,0 +1,28 @@ +pkgbase = dpkg + pkgdesc = The Debian Package Manager. Don't use it instead of Arch's 'pacman'. + pkgver = 1.17.25 + pkgrel = 1 + url = http://packages.debian.org/dpkg + arch = i686 + arch = x86_64 + license = GPL + makedepends = gcc + makedepends = make + makedepends = perl + makedepends = pkg-config + makedepends = perl-io-string + makedepends = perl-timedate + depends = bzip2 + depends = xz + depends = zlib + depends = ncurses + optdepends = fakeroot + conflicts = dpkg-ubuntu + replaces = dpkg-ubuntu + source = http://ftp.debian.org/debian/pool/main/d/dpkg/dpkg_1.17.25.tar.xz + source = dpkg-gzip-rsyncable.patch + md5sums = e48fcfdb2162e77d72c2a83432d537ca + md5sums = 71fd0c244ca1fc7132c708022ca50ef0 + +pkgname = dpkg + diff --git a/dpkg/PKGBUILD b/dpkg/PKGBUILD new file mode 100644 index 0000000..4f3e75c --- /dev/null +++ b/dpkg/PKGBUILD @@ -0,0 +1,52 @@ +# Maintainer: Jochen Schalanda <jochen+aur (at) schalanda.name> +# Contributor: C. Dominik Bódi <dominik.bodi@gmx.de> +# Contributor: Pierre Carrier <pierre@spotify.com> +# Contributor: Thomas Dziedzic <gostrc (at) gmail> +# Contributor: Chris Giles <Chris.G.27 (at) Gmail.com> +# Contributor: seblu <seblu+arch (at) seblu.net> +# Contributor: squiddo <squiddo (at) intheocean.net> +# Contributor: dront78 <dront78 (at) gmail.com> +# Contributor: hugelgupf <ckoch (at) cs.nmt.edu> +# +# NOTE: To request changes to this package, please submit a pull request +# to the GitHub repository at https://github.com/ido/packages-archlinux +# Otherwise, open a GitHub issue. Thank you! -Ido +# +pkgname=dpkg +pkgver=1.17.25 +pkgrel=1 +pkgdesc="The Debian Package Manager. Don't use it instead of Arch's 'pacman'." +arch=('i686' 'x86_64') +url="http://packages.debian.org/${pkgname}" +license=('GPL') +depends=('bzip2' 'xz' 'zlib' 'ncurses') +makedepends=('gcc' 'make' 'perl' 'pkg-config' 'perl-io-string' 'perl-timedate') +optdepends=('fakeroot') +replaces=(dpkg-ubuntu) +conflicts=(dpkg-ubuntu) +source=( + http://ftp.debian.org/debian/pool/main/d/${pkgname}/${pkgname}_${pkgver}.tar.xz + dpkg-gzip-rsyncable.patch +) +md5sums=('e48fcfdb2162e77d72c2a83432d537ca' + '71fd0c244ca1fc7132c708022ca50ef0') + +build() { + cd "${pkgname}-${pkgver}" + + patch -p0 -i "${startdir}/dpkg-gzip-rsyncable.patch" + + # Build + ./configure --prefix=/usr --sysconfdir=/etc --localstatedir=/var --sbindir=/usr/bin \ + --disable-start-stop-daemon --disable-install-info --with-zlib --with-bz2 --with-liblzma + make +} + +package() { + cd "${pkgname}-${pkgver}" + make DESTDIR="${pkgdir}" install + + # Variables + install -d "${pkgdir}/var/${pkgname}/updates/" + touch ${pkgdir}/var/lib/${pkgname}/{status,available} +} diff --git a/dpkg/dpkg-gzip-rsyncable.patch b/dpkg/dpkg-gzip-rsyncable.patch new file mode 100644 index 0000000..d9ebfa5 --- /dev/null +++ b/dpkg/dpkg-gzip-rsyncable.patch @@ -0,0 +1,11 @@ +--- ./scripts/Dpkg/Compression.pm.orig 2012-04-27 04:49:02.000000000 +0200 ++++ ./scripts/Dpkg/Compression.pm 2012-05-27 22:23:18.530628795 +0200 +@@ -53,7 +53,7 @@ + my $COMP = { + gzip => { + file_ext => 'gz', +- comp_prog => [ 'gzip', '--no-name', '--rsyncable' ], ++ comp_prog => [ 'gzip', '--no-name' ], + decomp_prog => [ 'gunzip' ], + default_level => 9, + }, |
