[arch-commits] Commit in dpkg/repos (3 files)

Anatol Pomozov anatolik at archlinux.org
Thu Jul 9 19:42:19 UTC 2020


    Date: Thursday, July 9, 2020 @ 19:42:19
  Author: anatolik
Revision: 663022

archrelease: copy trunk to community-testing-x86_64

Added:
  dpkg/repos/community-testing-x86_64/
  dpkg/repos/community-testing-x86_64/PKGBUILD
    (from rev 663021, dpkg/trunk/PKGBUILD)
  dpkg/repos/community-testing-x86_64/dpkg.install
    (from rev 663021, dpkg/trunk/dpkg.install)

--------------+
 PKGBUILD     |   56 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++
 dpkg.install |    8 ++++++++
 2 files changed, 64 insertions(+)

Copied: dpkg/repos/community-testing-x86_64/PKGBUILD (from rev 663021, dpkg/trunk/PKGBUILD)
===================================================================
--- community-testing-x86_64/PKGBUILD	                        (rev 0)
+++ community-testing-x86_64/PKGBUILD	2020-07-09 19:42:19 UTC (rev 663022)
@@ -0,0 +1,56 @@
+# Maintainer: Anatol Pomozov
+# Contributor: Alad Wenter <alad (at) archlinux.info>
+# Contributor: Jochen Schalanda <jochen+aur (at) schalanda.name>
+# Contributor: C. Dominik Bódi <dominik.bodi at gmx.de>
+# Contributor: Pierre Carrier <pierre at 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.20.5
+pkgrel=1
+pkgdesc='The Debian Package Manager tools'
+arch=('x86_64')
+url="https://tracker.debian.org/pkg/dpkg"
+license=('GPL')
+options=('emptydirs')
+depends=('xz' 'zlib' 'bzip2' 'perl')
+makedepends=('perl-io-string' 'perl-timedate' 'git')
+checkdepends=('perl-io-string' 'perl-test-pod')
+install=dpkg.install
+source=(https://salsa.debian.org/dpkg-team/dpkg/-/archive/$pkgver/dpkg-$pkgver.tar.bz2)
+sha256sums=('e856016588bcd3b129d35f8b4bae53de98db7cad75a5dcbc05373835f6ffc61c')
+
+prepare() {
+    cd dpkg-$pkgver
+    echo "$pkgver" > .dist-version
+    ./autogen
+}
+
+build() {
+    cd dpkg-$pkgver
+    ./configure --prefix=/usr \
+        --sysconfdir=/etc \
+        --localstatedir=/var \
+        --sbindir=/usr/bin \
+        --libexecdir=/usr/lib \
+        --disable-start-stop-daemon
+    make
+}
+
+check() {
+    cd dpkg-$pkgver
+    # make check
+}
+
+package() {
+    cd dpkg-$pkgver
+    make DESTDIR="$pkgdir" install
+
+    install -d "$pkgdir/var/dpkg"/updates/
+    touch "$pkgdir/var/lib/dpkg"/{status,available}
+}

Copied: dpkg/repos/community-testing-x86_64/dpkg.install (from rev 663021, dpkg/trunk/dpkg.install)
===================================================================
--- community-testing-x86_64/dpkg.install	                        (rev 0)
+++ community-testing-x86_64/dpkg.install	2020-07-09 19:42:19 UTC (rev 663022)
@@ -0,0 +1,8 @@
+post_install() {
+   echo "    dpkg installs Debian package manager."
+   echo "    This is useful for those who want to create/modify DEB files."
+   echo "    However, *do not* use dpkg to install Debian packages in your ArchLinux machine."
+   echo "    This will break your system!"
+   echo "    You will need to go back to Arch wiki and read the installation guide again."
+   echo "    You've been warned!"
+}


More information about the arch-commits mailing list