diff options
author | David P <megver83@openmailbox.org> | 2017-04-04 14:25:25 -0300 |
---|---|---|
committer | David P <megver83@openmailbox.org> | 2017-04-04 14:25:25 -0300 |
commit | aa46e0b0b58009af3e8e0a0f2c37687d0e2e0934 (patch) | |
tree | 187b685eb22ced0cdef310047aa353d52b30ade4 /pcr/dpkg/PKGBUILD | |
parent | 057b3abb61bef41f8e5f4802c4f752fc75042ebc (diff) | |
download | abslibre-aa46e0b0b58009af3e8e0a0f2c37687d0e2e0934.tar.gz abslibre-aa46e0b0b58009af3e8e0a0f2c37687d0e2e0934.tar.bz2 abslibre-aa46e0b0b58009af3e8e0a0f2c37687d0e2e0934.zip |
Added dpkg to [pcr]
Diffstat (limited to 'pcr/dpkg/PKGBUILD')
-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} +} |