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

Christian Hesse eworm at gemini.archlinux.org
Mon May 23 22:31:35 UTC 2022


    Date: Monday, May 23, 2022 @ 22:31:34
  Author: eworm
Revision: 446473

archrelease: copy trunk to testing-x86_64

Added:
  fakeroot/repos/testing-x86_64/
  fakeroot/repos/testing-x86_64/PKGBUILD
    (from rev 446472, fakeroot/trunk/PKGBUILD)
  fakeroot/repos/testing-x86_64/fakeroot.install
    (from rev 446472, fakeroot/trunk/fakeroot.install)

------------------+
 PKGBUILD         |   48 ++++++++++++++++++++++++++++++++++++++++++++++++
 fakeroot.install |   13 +++++++++++++
 2 files changed, 61 insertions(+)

Copied: fakeroot/repos/testing-x86_64/PKGBUILD (from rev 446472, fakeroot/trunk/PKGBUILD)
===================================================================
--- testing-x86_64/PKGBUILD	                        (rev 0)
+++ testing-x86_64/PKGBUILD	2022-05-23 22:31:34 UTC (rev 446473)
@@ -0,0 +1,48 @@
+# Maintainer:  Bartłomiej Piotrowski <bpiotrowski at archlinux.org>
+# Contributor: Allan McRae <allan at archlinux.org>
+# Contributor: Jochem Kossen <j.kossen at home.nl>
+
+pkgname=fakeroot
+pkgver=1.29
+pkgrel=1
+pkgdesc='Tool for simulating superuser privileges'
+arch=('x86_64')
+license=('GPL')
+url='https://tracker.debian.org/pkg/fakeroot'
+groups=('base-devel')
+install=fakeroot.install
+depends=('glibc' 'filesystem' 'sed' 'util-linux' 'sh')
+makedepends=('systemd' 'po4a')
+checkdepends=('sharutils')
+source=("https://deb.debian.org/debian/pool/main/f/$pkgname/${pkgname}_${pkgver}.orig.tar.gz")
+sha256sums=('8fbbafb780c9173e3ace4a04afbc1d900f337f3216883939f5c7db3431be7c20')
+
+build() {
+  cd $pkgname-$pkgver
+
+  ./configure --prefix=/usr \
+    --libdir=/usr/lib/libfakeroot \
+    --disable-static \
+    --with-ipc=sysv
+
+  make
+
+  cd doc
+  po4a -k 0 --rm-backups --variable 'srcdir=../doc/' po4a/po4a.cfg
+}
+
+check() {
+  cd $pkgname-$pkgver
+  make check
+}
+
+package() {
+  cd $pkgname-$pkgver
+  make DESTDIR="$pkgdir" install
+
+  install -dm0755 "$pkgdir/etc/ld.so.conf.d/"
+  echo '/usr/lib/libfakeroot' > "$pkgdir/etc/ld.so.conf.d/fakeroot.conf"
+
+  # install README for sysv/tcp usage
+  install -Dm0644 README "$pkgdir/usr/share/doc/$pkgname/README"
+}

Copied: fakeroot/repos/testing-x86_64/fakeroot.install (from rev 446472, fakeroot/trunk/fakeroot.install)
===================================================================
--- testing-x86_64/fakeroot.install	                        (rev 0)
+++ testing-x86_64/fakeroot.install	2022-05-23 22:31:34 UTC (rev 446473)
@@ -0,0 +1,13 @@
+#!/bin/sh
+
+post_install() {
+  usr/bin/ldconfig -r .
+}
+
+post_upgrade() {
+  usr/bin/ldconfig -r .
+}
+
+pre_remove() {
+  usr/bin/ldconfig -r .
+}



More information about the arch-commits mailing list