Date: Sunday, July 10, 2016 @ 16:29:59
  Author: dan
Revision: 271252

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

Added:
  dash/repos/testing-i686/
  dash/repos/testing-i686/PKGBUILD
    (from rev 271251, dash/trunk/PKGBUILD)
  dash/repos/testing-i686/dash.install
    (from rev 271251, dash/trunk/dash.install)
  dash/repos/testing-x86_64/
  dash/repos/testing-x86_64/PKGBUILD
    (from rev 271251, dash/trunk/PKGBUILD)
  dash/repos/testing-x86_64/dash.install
    (from rev 271251, 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 271251, dash/trunk/PKGBUILD)
===================================================================
--- testing-i686/PKGBUILD                               (rev 0)
+++ testing-i686/PKGBUILD       2016-07-10 16:29:59 UTC (rev 271252)
@@ -0,0 +1,33 @@
+# $Id$
+# Maintainer: Dan McGee <[email protected]>
+
+pkgname=dash
+pkgver=0.5.9
+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=('b9e9fbf21d95b5317f6e876fe7086a8fe69b3806')
+
+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 271251, 
dash/trunk/dash.install)
===================================================================
--- testing-i686/dash.install                           (rev 0)
+++ testing-i686/dash.install   2016-07-10 16:29:59 UTC (rev 271252)
@@ -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 271251, 
dash/trunk/PKGBUILD)
===================================================================
--- testing-x86_64/PKGBUILD                             (rev 0)
+++ testing-x86_64/PKGBUILD     2016-07-10 16:29:59 UTC (rev 271252)
@@ -0,0 +1,33 @@
+# $Id$
+# Maintainer: Dan McGee <[email protected]>
+
+pkgname=dash
+pkgver=0.5.9
+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=('b9e9fbf21d95b5317f6e876fe7086a8fe69b3806')
+
+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 271251, 
dash/trunk/dash.install)
===================================================================
--- testing-x86_64/dash.install                         (rev 0)
+++ testing-x86_64/dash.install 2016-07-10 16:29:59 UTC (rev 271252)
@@ -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
+}

Reply via email to