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

Dan McGee dan at archlinux.org
Sun Sep 28 17:38:16 UTC 2014


    Date: Sunday, September 28, 2014 @ 19:38:16
  Author: dan
Revision: 223661

archrelease: copy trunk to testing-i686, testing-x86_64

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

-----------------------------+
 testing-i686/PKGBUILD       |   33 +++++++++++++++++++++++++++++++++
 testing-i686/dash.install   |   11 +++++++++++
 testing-x86_64/PKGBUILD     |   33 +++++++++++++++++++++++++++++++++
 testing-x86_64/dash.install |   11 +++++++++++
 4 files changed, 88 insertions(+)

Copied: dash/repos/testing-i686/PKGBUILD (from rev 223660, dash/trunk/PKGBUILD)
===================================================================
--- testing-i686/PKGBUILD	                        (rev 0)
+++ testing-i686/PKGBUILD	2014-09-28 17:38:16 UTC (rev 223661)
@@ -0,0 +1,33 @@
+# $Id$
+# Maintainer: Dan McGee <dan at archlinux.org>
+
+pkgname=dash
+pkgver=0.5.8
+pkgrel=1
+pkgdesc="A POSIX compliant shell that aims to be as small as possible"
+arch=('i686' 'x86_64')
+url="http://gondor.apana.org.au/~herbert/dash/"
+license=('BSD')
+depends=('glibc')
+install=dash.install
+source=("http://gondor.apana.org.au/~herbert/dash/files/${pkgname}-${pkgver}.tar.gz")
+sha1sums=('cd058935bba545427caa375337afe8a6309477d2')
+
+build() {
+  cd "${srcdir}/${pkgname}-${pkgver}"
+  ./configure \
+    --prefix=/usr \
+    --bindir=/usr/bin \
+    --mandir=/usr/share/man \
+    --exec-prefix="" \
+    --with-libedit
+  make
+}
+
+package() {
+  cd "${srcdir}/${pkgname}-${pkgver}"
+  make DESTDIR="${pkgdir}" install
+
+  # license
+  install -m644 -D COPYING ${pkgdir}/usr/share/licenses/${pkgname}/COPYING
+}

Copied: dash/repos/testing-i686/dash.install (from rev 223660, dash/trunk/dash.install)
===================================================================
--- testing-i686/dash.install	                        (rev 0)
+++ testing-i686/dash.install	2014-09-28 17:38:16 UTC (rev 223661)
@@ -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
+}

Copied: dash/repos/testing-x86_64/PKGBUILD (from rev 223660, dash/trunk/PKGBUILD)
===================================================================
--- testing-x86_64/PKGBUILD	                        (rev 0)
+++ testing-x86_64/PKGBUILD	2014-09-28 17:38:16 UTC (rev 223661)
@@ -0,0 +1,33 @@
+# $Id$
+# Maintainer: Dan McGee <dan at archlinux.org>
+
+pkgname=dash
+pkgver=0.5.8
+pkgrel=1
+pkgdesc="A POSIX compliant shell that aims to be as small as possible"
+arch=('i686' 'x86_64')
+url="http://gondor.apana.org.au/~herbert/dash/"
+license=('BSD')
+depends=('glibc')
+install=dash.install
+source=("http://gondor.apana.org.au/~herbert/dash/files/${pkgname}-${pkgver}.tar.gz")
+sha1sums=('cd058935bba545427caa375337afe8a6309477d2')
+
+build() {
+  cd "${srcdir}/${pkgname}-${pkgver}"
+  ./configure \
+    --prefix=/usr \
+    --bindir=/usr/bin \
+    --mandir=/usr/share/man \
+    --exec-prefix="" \
+    --with-libedit
+  make
+}
+
+package() {
+  cd "${srcdir}/${pkgname}-${pkgver}"
+  make DESTDIR="${pkgdir}" install
+
+  # license
+  install -m644 -D COPYING ${pkgdir}/usr/share/licenses/${pkgname}/COPYING
+}

Copied: dash/repos/testing-x86_64/dash.install (from rev 223660, dash/trunk/dash.install)
===================================================================
--- testing-x86_64/dash.install	                        (rev 0)
+++ testing-x86_64/dash.install	2014-09-28 17:38:16 UTC (rev 223661)
@@ -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