# Maintainer: Jochen Schalanda # Contributor: C. Dominik Bódi # Contributor: Pierre Carrier # Contributor: Thomas Dziedzic # Contributor: Chris Giles # Contributor: seblu # Contributor: squiddo # Contributor: dront78 # Contributor: hugelgupf # # 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} }