[arch-commits] Commit in dash/repos (6 files)
Dan McGee
dan at archlinux.org
Sun Oct 23 14:39:17 UTC 2016
Date: Sunday, October 23, 2016 @ 14:39:17
Author: dan
Revision: 279178
archrelease: copy trunk to testing-i686, testing-x86_64
Added:
dash/repos/testing-i686/
dash/repos/testing-i686/PKGBUILD
(from rev 279177, dash/trunk/PKGBUILD)
dash/repos/testing-i686/dash.install
(from rev 279177, dash/trunk/dash.install)
dash/repos/testing-x86_64/
dash/repos/testing-x86_64/PKGBUILD
(from rev 279177, dash/trunk/PKGBUILD)
dash/repos/testing-x86_64/dash.install
(from rev 279177, 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 279177, dash/trunk/PKGBUILD)
===================================================================
--- testing-i686/PKGBUILD (rev 0)
+++ testing-i686/PKGBUILD 2016-10-23 14:39:17 UTC (rev 279178)
@@ -0,0 +1,33 @@
+# $Id$
+# Maintainer: Dan McGee <dan at archlinux.org>
+
+pkgname=dash
+pkgver=0.5.9.1
+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=('7b9cb47fc2a007c26fedc99d22a7fc1dc2f5f914')
+
+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 279177, dash/trunk/dash.install)
===================================================================
--- testing-i686/dash.install (rev 0)
+++ testing-i686/dash.install 2016-10-23 14:39:17 UTC (rev 279178)
@@ -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 279177, dash/trunk/PKGBUILD)
===================================================================
--- testing-x86_64/PKGBUILD (rev 0)
+++ testing-x86_64/PKGBUILD 2016-10-23 14:39:17 UTC (rev 279178)
@@ -0,0 +1,33 @@
+# $Id$
+# Maintainer: Dan McGee <dan at archlinux.org>
+
+pkgname=dash
+pkgver=0.5.9.1
+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=('7b9cb47fc2a007c26fedc99d22a7fc1dc2f5f914')
+
+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 279177, dash/trunk/dash.install)
===================================================================
--- testing-x86_64/dash.install (rev 0)
+++ testing-x86_64/dash.install 2016-10-23 14:39:17 UTC (rev 279178)
@@ -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