# Maintainer: Alad Wenter # Contributor: Jochen Schalanda # Contributor: C. Dominik Bódi # Contributor: Pierre Carrier # Contributor: Thomas Dziedzic # Contributor: Chris Giles # Contributor: seblu # Contributor: squiddo # Contributor: dront78 # Contributor: hugelgupf pkgname=dpkg pkgver=1.18.24 _commit=4fd7def03c96e82c03773c6eca111cf244bae8c0 pkgrel=2 pkgdesc="The Debian Package Manager. Don't use it instead of Arch's 'pacman'." arch=('i686' 'x86_64') url="https://tracker.debian.org/pkg/dpkg" license=('GPL') depends=('xz' 'zlib' 'bzip2' 'perl') makedepends=('perl-io-string' 'perl-timedate' 'git') checkdepends=('perl-io-string' 'perl-test-pod') source=("$pkgname-$pkgver::git+https://anonscm.debian.org/git/dpkg/dpkg.git#commit=$_commit") sha256sums=('SKIP') check() { cd "$pkgname-$pkgver" #make check } build() { cd "$pkgname-$pkgver" autoreconf -f -i ./configure --prefix=/usr \ --sysconfdir=/etc \ --localstatedir=/var \ --sbindir=/usr/bin \ --disable-start-stop-daemon make } package() { cd "$pkgname-$pkgver" make DESTDIR="$pkgdir" install install -d "$pkgdir/var/$pkgname"/updates/ touch "${pkgdir}/var/lib/$pkgname"/{status,available} }