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

Jelle van der Waa jelle at gemini.archlinux.org
Sat Jan 29 22:21:04 UTC 2022


    Date: Saturday, January 29, 2022 @ 22:21:04
  Author: jelle
Revision: 435405

archrelease: copy trunk to testing-x86_64

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

--------------+
 PKGBUILD     |   38 ++++++++++++++++++++++++++++++++++++++
 dash.install |   11 +++++++++++
 2 files changed, 49 insertions(+)

Copied: dash/repos/testing-x86_64/PKGBUILD (from rev 435404, dash/trunk/PKGBUILD)
===================================================================
--- testing-x86_64/PKGBUILD	                        (rev 0)
+++ testing-x86_64/PKGBUILD	2022-01-29 22:21:04 UTC (rev 435405)
@@ -0,0 +1,38 @@
+# Maintainer: Levente Polyak <anthraxx[at]archlinux[dot]org>
+# Contributor: Dan McGee <dan at archlinux.org>
+
+pkgname=dash
+pkgver=0.5.11.5
+pkgrel=1
+pkgdesc='POSIX compliant shell that aims to be as small as possible'
+url='http://gondor.apana.org.au/~herbert/dash/'
+arch=('x86_64')
+license=('BSD')
+depends=('glibc' 'libedit' 'libedit.so')
+install=dash.install
+options=('debug')
+source=(https://git.kernel.org/pub/scm/utils/dash/dash.git/snapshot/${pkgname}-${pkgver}.tar.gz)
+sha512sums=('324e7971bb9ab93246e811600f59a059462abc4fefc48c7d53782b518d560f740ace95f41b5d8c215279c6084c1881ff8bbdaabee69fdae66c971d3e9bdce2d4')
+b2sums=('f8ad8eacbb13ea00ecccde33d32ea5cd7527b7fbef5a4e11765925239de91d916184a3b9fff9757629512a76eed3ae5cc46f5cf588fc65bd82616b187cb9cd2e')
+
+prepare() {
+  cd ${pkgname}-${pkgver}
+  autoreconf -fiv
+}
+
+build() {
+  cd ${pkgname}-${pkgver}
+  ./configure \
+    --prefix=/usr \
+    --bindir=/usr/bin \
+    --mandir=/usr/share/man \
+    --exec-prefix="" \
+    --with-libedit
+  make V=1
+}
+
+package() {
+  cd ${pkgname}-${pkgver}
+  make DESTDIR="${pkgdir}" install
+  install -Dm 644 COPYING -t "${pkgdir}/usr/share/licenses/${pkgname}"
+}

Copied: dash/repos/testing-x86_64/dash.install (from rev 435404, dash/trunk/dash.install)
===================================================================
--- testing-x86_64/dash.install	                        (rev 0)
+++ testing-x86_64/dash.install	2022-01-29 22:21:04 UTC (rev 435405)
@@ -0,0 +1,11 @@
+post_install() {
+	grep -q '/bin/dash' etc/shells || echo '/bin/dash' >> etc/shells
+}
+
+post_upgrade() {
+	post_install
+}
+
+pre_remove() {
+	sed -i '/^\/bin\/dash/d' etc/shells
+}



More information about the arch-commits mailing list