[arch-commits] Commit in dash/repos (6 files)
Pierre Schmitz
pierre at nymeria.archlinux.org
Fri May 31 07:32:14 UTC 2013
Date: Friday, May 31, 2013 @ 09:32:14
Author: pierre
Revision: 186784
archrelease: copy trunk to staging-i686, staging-x86_64
Added:
dash/repos/staging-i686/
dash/repos/staging-i686/PKGBUILD
(from rev 186783, dash/trunk/PKGBUILD)
dash/repos/staging-i686/dash.install
(from rev 186783, dash/trunk/dash.install)
dash/repos/staging-x86_64/
dash/repos/staging-x86_64/PKGBUILD
(from rev 186783, dash/trunk/PKGBUILD)
dash/repos/staging-x86_64/dash.install
(from rev 186783, dash/trunk/dash.install)
-----------------------------+
staging-i686/PKGBUILD | 28 ++++++++++++++++++++++++++++
staging-i686/dash.install | 11 +++++++++++
staging-x86_64/PKGBUILD | 28 ++++++++++++++++++++++++++++
staging-x86_64/dash.install | 11 +++++++++++
4 files changed, 78 insertions(+)
Copied: dash/repos/staging-i686/PKGBUILD (from rev 186783, dash/trunk/PKGBUILD)
===================================================================
--- staging-i686/PKGBUILD (rev 0)
+++ staging-i686/PKGBUILD 2013-05-31 07:32:14 UTC (rev 186784)
@@ -0,0 +1,28 @@
+# $Id$
+# Maintainer: Dan McGee <dan at archlinux.org>
+
+pkgname=dash
+pkgver=0.5.7
+pkgrel=4
+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 --bindir=/usr/bin --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/staging-i686/dash.install (from rev 186783, dash/trunk/dash.install)
===================================================================
--- staging-i686/dash.install (rev 0)
+++ staging-i686/dash.install 2013-05-31 07:32:14 UTC (rev 186784)
@@ -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/staging-x86_64/PKGBUILD (from rev 186783, dash/trunk/PKGBUILD)
===================================================================
--- staging-x86_64/PKGBUILD (rev 0)
+++ staging-x86_64/PKGBUILD 2013-05-31 07:32:14 UTC (rev 186784)
@@ -0,0 +1,28 @@
+# $Id$
+# Maintainer: Dan McGee <dan at archlinux.org>
+
+pkgname=dash
+pkgver=0.5.7
+pkgrel=4
+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 --bindir=/usr/bin --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/staging-x86_64/dash.install (from rev 186783, dash/trunk/dash.install)
===================================================================
--- staging-x86_64/dash.install (rev 0)
+++ staging-x86_64/dash.install 2013-05-31 07:32:14 UTC (rev 186784)
@@ -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