[arch-commits] Commit in ksh/repos/community-x86_64 (4 files)
Eli Schwartz
eschwartz at archlinux.org
Thu Oct 10 19:03:20 UTC 2019
Date: Thursday, October 10, 2019 @ 19:03:18
Author: eschwartz
Revision: 514495
archrelease: copy trunk to community-x86_64
Added:
ksh/repos/community-x86_64/PKGBUILD
(from rev 514494, ksh/trunk/PKGBUILD)
ksh/repos/community-x86_64/ksh.install
(from rev 514494, ksh/trunk/ksh.install)
Deleted:
ksh/repos/community-x86_64/PKGBUILD
ksh/repos/community-x86_64/ksh.install
-------------+
PKGBUILD | 119 +++++++++++++++++++++++++++-------------------------------
ksh.install | 24 +++++------
2 files changed, 68 insertions(+), 75 deletions(-)
Deleted: PKGBUILD
===================================================================
--- PKGBUILD 2019-10-10 19:03:00 UTC (rev 514494)
+++ PKGBUILD 2019-10-10 19:03:18 UTC (rev 514495)
@@ -1,63 +0,0 @@
-# Maintainer: Eli Schwartz <eschwartz at archlinux.org>
-
-pkgname=ksh
-_pkgver=2020.0.0-beta1
-pkgver=${_pkgver//-/}
-pkgrel=1
-pkgdesc="The Original AT&T Korn Shell"
-arch=('x86_64')
-url="http://kornshell.org/"
-license=('EPL')
-makedepends=('meson' 'samurai')
-checkdepends=('ed' 'expect' 'openbsd-netcat' 'procps-ng' 'which' 'vi')
-provides=('ksh93')
-install=ksh.install
-source=("https://github.com/att/ast/releases/download/${_pkgver}/ksh-${_pkgver}.tar.xz"{,.asc}
- "https://github.com/att/ast/commit/d89753b5d38482f4a3f17ba3b7d09ab07cfe7419.patch"
- "https://github.com/att/ast/commit/44463c0255b7e80d3ace9a0a27e543f2232ca409.patch")
-sha256sums=('ebcc55b352d40e1c5329615224d1b76c7b9f7755d07e0b828a6db02ac9c77f52'
- 'SKIP'
- '8d10ac086727ef9d1b967e2e973be29792e9a4a8c5f915087aa3a2c44d87403f'
- 'e99e2ca533c61005e3dd7947dfcdccef9c70719a109cb2474997105453846870')
-b2sums=('9d45b6ecdb182363156bd33a984addfae8281a6498beb675456700e4ce5aea346f7720e033b8e83b6f0832b020b502cce6f8407400de1ec4b4232f7d9323f615'
- 'SKIP'
- 'bcf521012bb197d234b119dc56ddc068f8ec3e46b6f4c6d82e1043629368bfcabd1a5d360bae702777e5b01914ac70c9edbdce5ee0bba7e9f69916a3c38b1820'
- '9409982ecb7f2d0c4748debcd211b6879bea26e4b1f9c90e6d9e620fcde5d3b8a9d02b034813bea7cb2298a136e911dfcf3f6f303b4fd1f1a5e6c16e0a758f3a')
-validpgpkeys=('4BF045ACC726FE4E9DFC1D7762213CE2D3CB82EA') # Siteshwar Vashisht <svashisht at redhat.com>
-
-export NINJA=/usr/bin/samu
-
-prepare() {
- cd "${srcdir}"/ksh-${_pkgver}
-
- # ignore test error on non-debug builds: https://github.com/att/ast/issues/1390
- patch -p1 -i ../d89753b5d38482f4a3f17ba3b7d09ab07cfe7419.patch
- # be less flaky inside systemd-nspawn containers with seccomp:
- # https://github.com/att/ast/issues/1398
- patch -p1 -i ../44463c0255b7e80d3ace9a0a27e543f2232ca409.patch
-
-}
-
-build() {
- mkdir -p "${srcdir}"/ksh-${_pkgver}/build
- cd "${srcdir}"/ksh-${_pkgver}/build
-
- meson --prefix /usr \
- --buildtype=plain \
- ..
- samu
-}
-
-check() {
- cd "${srcdir}"/ksh-${_pkgver}/build
-
- # a couple tests are flaky and may time out
- meson test -t 3 --print-errorlogs
-}
-
-package() {
- cd "${srcdir}"/ksh-${_pkgver}/build
-
- DESTDIR="${pkgdir}" samu install
- ln -s ksh "${pkgdir}"/usr/bin/ksh93
-}
Copied: ksh/repos/community-x86_64/PKGBUILD (from rev 514494, ksh/trunk/PKGBUILD)
===================================================================
--- PKGBUILD (rev 0)
+++ PKGBUILD 2019-10-10 19:03:18 UTC (rev 514495)
@@ -0,0 +1,56 @@
+# Maintainer: Eli Schwartz <eschwartz at archlinux.org>
+
+pkgname=ksh
+pkgver=2020.0.0
+pkgrel=1
+pkgdesc="The Original AT&T Korn Shell"
+arch=('x86_64')
+url="http://kornshell.org/"
+license=('EPL')
+makedepends=('meson' 'samurai')
+checkdepends=('ed' 'expect' 'openbsd-netcat' 'procps-ng' 'which' 'vi')
+provides=('ksh93')
+install=ksh.install
+source=("https://github.com/att/ast/releases/download/${pkgver}/ksh-${pkgver}.tar.xz"{,.asc}
+ "https://github.com/att/ast/commit/d89753b5d38482f4a3f17ba3b7d09ab07cfe7419.patch")
+sha256sums=('3d6287f9ad13132bf8e57a8eac512b36a63ccce2b1e4531d7a946c5bf2375c63'
+ 'SKIP'
+ '8d10ac086727ef9d1b967e2e973be29792e9a4a8c5f915087aa3a2c44d87403f')
+b2sums=('29f957c7917d469fe1b322e7ac2c22435c41c226a0d9629d91d81089ab90cb381b578b163be0f424a574663c838f0cfa59357f18dd61381daa4a8d4e383b60eb'
+ 'SKIP'
+ 'bcf521012bb197d234b119dc56ddc068f8ec3e46b6f4c6d82e1043629368bfcabd1a5d360bae702777e5b01914ac70c9edbdce5ee0bba7e9f69916a3c38b1820')
+validpgpkeys=('4BF045ACC726FE4E9DFC1D7762213CE2D3CB82EA') # Siteshwar Vashisht <svashisht at redhat.com>
+
+export NINJA=/usr/bin/samu
+
+prepare() {
+ cd "${srcdir}"/ksh-${pkgver}
+
+ # ignore test error on non-debug builds: https://github.com/att/ast/issues/1390
+ patch -p1 -i ../d89753b5d38482f4a3f17ba3b7d09ab07cfe7419.patch
+}
+
+
+build() {
+ mkdir -p "${srcdir}"/ksh-${pkgver}/build
+ cd "${srcdir}"/ksh-${pkgver}/build
+
+ meson --prefix /usr \
+ --buildtype=plain \
+ ..
+ samu
+}
+
+check() {
+ cd "${srcdir}"/ksh-${pkgver}/build
+
+ # a couple tests are flaky and may time out
+ meson test -t 3 --print-errorlogs
+}
+
+package() {
+ cd "${srcdir}"/ksh-${pkgver}/build
+
+ DESTDIR="${pkgdir}" samu install
+ ln -s ksh "${pkgdir}"/usr/bin/ksh93
+}
Deleted: ksh.install
===================================================================
--- ksh.install 2019-10-10 19:03:00 UTC (rev 514494)
+++ ksh.install 2019-10-10 19:03:18 UTC (rev 514495)
@@ -1,12 +0,0 @@
-post_install() {
- grep -qx /bin/ksh /etc/shells || echo /bin/ksh >>/etc/shells
- grep -qx /usr/bin/ksh /etc/shells || echo /usr/bin/ksh >>/etc/shells
-}
-
-post_upgrade() {
- post_install
-}
-
-post_remove() {
- sed -i -r '/^(\/usr)?\/bin\/ksh$/d' etc/shells
-}
Copied: ksh/repos/community-x86_64/ksh.install (from rev 514494, ksh/trunk/ksh.install)
===================================================================
--- ksh.install (rev 0)
+++ ksh.install 2019-10-10 19:03:18 UTC (rev 514495)
@@ -0,0 +1,12 @@
+post_install() {
+ grep -qx /bin/ksh /etc/shells || echo /bin/ksh >>/etc/shells
+ grep -qx /usr/bin/ksh /etc/shells || echo /usr/bin/ksh >>/etc/shells
+}
+
+post_upgrade() {
+ post_install
+}
+
+post_remove() {
+ sed -i -r '/^(\/usr)?\/bin\/ksh$/d' etc/shells
+}
More information about the arch-commits
mailing list