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

Levente Polyak anthraxx at archlinux.org
Wed Jan 13 20:42:42 UTC 2021


    Date: Wednesday, January 13, 2021 @ 20:42:42
  Author: anthraxx
Revision: 406193

archrelease: copy trunk to testing-x86_64

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

--------------+
 PKGBUILD     |   37 +++++++++++++++++++++++++++++++++++++
 dash.install |   11 +++++++++++
 2 files changed, 48 insertions(+)

Copied: dash/repos/testing-x86_64/PKGBUILD (from rev 406192, dash/trunk/PKGBUILD)
===================================================================
--- testing-x86_64/PKGBUILD	                        (rev 0)
+++ testing-x86_64/PKGBUILD	2021-01-13 20:42:42 UTC (rev 406193)
@@ -0,0 +1,37 @@
+# Maintainer: Levente Polyak <anthraxx[at]archlinux[dot]org>
+# Contributor: Dan McGee <dan at archlinux.org>
+
+pkgname=dash
+pkgver=0.5.11.3
+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
+source=(https://git.kernel.org/pub/scm/utils/dash/dash.git/snapshot/${pkgname}-${pkgver}.tar.gz)
+sha512sums=('de81dd2153a85fe3599b1388636dba4111c35934195b7f912e15ab8aa56cdd7564fc734cb8e01b9def5a0774f8427f7e9281b288a7e83e2c6ae2dd32ce1dda6e')
+b2sums=('7615048df9131d78bc300ecb905513cfe544655a27ffcd8878f0651702674b5bdd42b3e20bbd942af48d4a8e28af51a6e5433bde34513042f6887beee59d6b91')
+
+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 406192, dash/trunk/dash.install)
===================================================================
--- testing-x86_64/dash.install	                        (rev 0)
+++ testing-x86_64/dash.install	2021-01-13 20:42:42 UTC (rev 406193)
@@ -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