diff options
Diffstat (limited to 'pcr')
-rw-r--r-- | pcr/dpkg/PKGBUILD | 51 |
1 files changed, 51 insertions, 0 deletions
diff --git a/pcr/dpkg/PKGBUILD b/pcr/dpkg/PKGBUILD new file mode 100644 index 000000000..0b9a25d08 --- /dev/null +++ b/pcr/dpkg/PKGBUILD @@ -0,0 +1,51 @@ +# Maintainer: David P. <megver83@openmailbox.org> +# Contributor: Alad Wenter <alad (at) archlinux.info> +# Contributor: 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> + +pkgname=dpkg +pkgver=1.18.23 +_commit=933f2d62873822eae68fc082f69b4a7c48802c28 # 1.18.23 +pkgrel=2 +pkgdesc="The Debian Package Manager. Don't use it instead of Arch's 'pacman'." +arch=('armv7h' '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 \ + --disable-install-info + make +} + +package() { + cd "$pkgname-$pkgver" + make DESTDIR="$pkgdir" install + + install -d "$pkgdir/var/$pkgname"/updates/ + touch "${pkgdir}/var/lib/$pkgname"/{status,available} +} |