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

Levente Polyak anthraxx at archlinux.org
Sun Aug 26 17:05:00 UTC 2018


    Date: Sunday, August 26, 2018 @ 17:05:00
  Author: anthraxx
Revision: 333041

archrelease: copy trunk to testing-x86_64

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

--------------+
 PKGBUILD     |   32 ++++++++++++++++++++++++++++++++
 dash.install |   11 +++++++++++
 2 files changed, 43 insertions(+)

Copied: dash/repos/testing-x86_64/PKGBUILD (from rev 333040, dash/trunk/PKGBUILD)
===================================================================
--- testing-x86_64/PKGBUILD	                        (rev 0)
+++ testing-x86_64/PKGBUILD	2018-08-26 17:05:00 UTC (rev 333041)
@@ -0,0 +1,32 @@
+# Maintainer: Levente Polyak <anthraxx[at]archlinux[dot]org>
+# Maintainer: Dan McGee <dan at archlinux.org>
+
+pkgname=dash
+pkgver=0.5.10.2
+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')
+install=dash.install
+source=(http://gondor.apana.org.au/~herbert/dash/files/${pkgname}-${pkgver}.tar.gz)
+sha256sums=('3c663919dc5c66ec991da14c7cf7e0be8ad00f3db73986a987c118862b5f6071')
+sha512sums=('0ae29be77794df0ba254967649b9728611a75fbb3acd32ab6634d76399d1ce97c7d12d31da465482a7e4f3207093415c496c39525cace9b78ab3cb9444dd7640')
+
+build() {
+  cd ${pkgname}-${pkgver}
+  ./configure \
+    --prefix=/usr \
+    --bindir=/usr/bin \
+    --mandir=/usr/share/man \
+    --exec-prefix="" \
+    --with-libedit
+  make
+}
+
+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 333040, dash/trunk/dash.install)
===================================================================
--- testing-x86_64/dash.install	                        (rev 0)
+++ testing-x86_64/dash.install	2018-08-26 17:05:00 UTC (rev 333041)
@@ -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