[arch-commits] Commit in dash/repos (3 files)
Felix Yan
felixonmars at archlinux.org
Sat Aug 29 00:46:51 UTC 2020
Date: Saturday, August 29, 2020 @ 00:46:50
Author: felixonmars
Revision: 394861
archrelease: copy trunk to testing-x86_64
Added:
dash/repos/testing-x86_64/
dash/repos/testing-x86_64/PKGBUILD
(from rev 394860, dash/trunk/PKGBUILD)
dash/repos/testing-x86_64/dash.install
(from rev 394860, dash/trunk/dash.install)
--------------+
PKGBUILD | 37 +++++++++++++++++++++++++++++++++++++
dash.install | 11 +++++++++++
2 files changed, 48 insertions(+)
Copied: dash/repos/testing-x86_64/PKGBUILD (from rev 394860, dash/trunk/PKGBUILD)
===================================================================
--- testing-x86_64/PKGBUILD (rev 0)
+++ testing-x86_64/PKGBUILD 2020-08-29 00:46:50 UTC (rev 394861)
@@ -0,0 +1,37 @@
+# Maintainer: Levente Polyak <anthraxx[at]archlinux[dot]org>
+# Maintainer: Dan McGee <dan at archlinux.org>
+
+pkgname=dash
+pkgver=0.5.11.2
+pkgrel=1
+pkgdesc='POSIX compliant shell that aims to be as small as possible'
+url='http://gondor.apana.org.au/~herbert/dash/'
+arch=('x86_64')
+license=('BSD')
+depends=('glibc')
+install=dash.install
+source=(https://git.kernel.org/pub/scm/utils/dash/dash.git/snapshot/${pkgname}-${pkgver}.tar.gz)
+sha512sums=('851abffe9087c79f580801b323cc1c26ca5a370a34ca4aa241f47802ba645fe854f8623a0f81e0e14f05b7b824828bace22901ac4ad77d7ce4630cb5368243c2')
+b2sums=('7a7e86e226e646adaddaf2e5bcc86c8c1ef72649851709c1aa77ce819924d6b9729dd37a2a443586849eb32a961ac7f253cfcf2c2bb9c01c1a2d7bfdcebac97d')
+
+prepare() {
+ cd ${pkgname}-${pkgver}
+ autoreconf -fiv
+}
+
+build() {
+ cd ${pkgname}-${pkgver}
+ ./configure \
+ --prefix=/usr \
+ --bindir=/usr/bin \
+ --mandir=/usr/share/man \
+ --exec-prefix="" \
+ --with-libedit
+ make V=1
+}
+
+package() {
+ cd ${pkgname}-${pkgver}
+ make DESTDIR="${pkgdir}" install
+ install -Dm 644 COPYING -t "${pkgdir}/usr/share/licenses/${pkgname}"
+}
Copied: dash/repos/testing-x86_64/dash.install (from rev 394860, dash/trunk/dash.install)
===================================================================
--- testing-x86_64/dash.install (rev 0)
+++ testing-x86_64/dash.install 2020-08-29 00:46:50 UTC (rev 394861)
@@ -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