Date: Monday, August 15, 2011 @ 18:58:37
  Author: tomegun
Revision: 135572

db-move: moved dash from [testing] to [core] (x86_64)

Added:
  dash/repos/core-x86_64/PKGBUILD
    (from rev 135570, dash/repos/testing-x86_64/PKGBUILD)
  dash/repos/core-x86_64/dash.install
    (from rev 135570, dash/repos/testing-x86_64/dash.install)
Deleted:
  dash/repos/core-x86_64/PKGBUILD
  dash/repos/testing-x86_64/

--------------+
 PKGBUILD     |   56 ++++++++++++++++++++++++++++----------------------------
 dash.install |   11 +++++++++++
 2 files changed, 39 insertions(+), 28 deletions(-)

Deleted: core-x86_64/PKGBUILD
===================================================================
--- core-x86_64/PKGBUILD        2011-08-15 22:58:37 UTC (rev 135571)
+++ core-x86_64/PKGBUILD        2011-08-15 22:58:37 UTC (rev 135572)
@@ -1,28 +0,0 @@
-# $Id$
-# Maintainer: Dan McGee <d...@archlinux.org>
-
-pkgname=dash
-pkgver=0.5.7
-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')
-groups=('base')
-depends=('glibc')
-source=("http://gondor.apana.org.au/~herbert/dash/files/${pkgname}-${pkgver}.tar.gz";)
-sha1sums=('a3ebc16f2e2c7ae8adf64e5e62ae3dcb631717c6')
-
-build() {
-  cd "${srcdir}/${pkgname}-${pkgver}"
-  ./configure --prefix=/usr --mandir=/usr/share/man --exec-prefix=""
-  make
-}
-
-package() {
-  cd "${srcdir}/${pkgname}-${pkgver}"
-  make DESTDIR="${pkgdir}" install
-
-  # license
-  install -m644 -D COPYING ${pkgdir}/usr/share/licenses/${pkgname}/COPYING
-}

Copied: dash/repos/core-x86_64/PKGBUILD (from rev 135570, 
dash/repos/testing-x86_64/PKGBUILD)
===================================================================
--- core-x86_64/PKGBUILD                                (rev 0)
+++ core-x86_64/PKGBUILD        2011-08-15 22:58:37 UTC (rev 135572)
@@ -0,0 +1,28 @@
+# $Id$
+# Maintainer: Dan McGee <d...@archlinux.org>
+
+pkgname=dash
+pkgver=0.5.7
+pkgrel=2
+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=('a3ebc16f2e2c7ae8adf64e5e62ae3dcb631717c6')
+
+build() {
+  cd "${srcdir}/${pkgname}-${pkgver}"
+  ./configure --prefix=/usr --mandir=/usr/share/man --exec-prefix=""
+  make
+}
+
+package() {
+  cd "${srcdir}/${pkgname}-${pkgver}"
+  make DESTDIR="${pkgdir}" install
+
+  # license
+  install -m644 -D COPYING ${pkgdir}/usr/share/licenses/${pkgname}/COPYING
+}

Copied: dash/repos/core-x86_64/dash.install (from rev 135570, 
dash/repos/testing-x86_64/dash.install)
===================================================================
--- core-x86_64/dash.install                            (rev 0)
+++ core-x86_64/dash.install    2011-08-15 22:58:37 UTC (rev 135572)
@@ -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