Date: Thursday, October 10, 2019 @ 19:03:00 Author: eschwartz Revision: 514494
upgpkg: ksh 2020.0.0-1: upstream release first stable release, so we can finally move off the beta branch and remove _pkgver hack. Modified: ksh/trunk/PKGBUILD ----------+ PKGBUILD | 33 +++++++++++++-------------------- 1 file changed, 13 insertions(+), 20 deletions(-) Modified: PKGBUILD =================================================================== --- PKGBUILD 2019-10-10 18:02:52 UTC (rev 514493) +++ PKGBUILD 2019-10-10 19:03:00 UTC (rev 514494) @@ -1,8 +1,7 @@ # Maintainer: Eli Schwartz <[email protected]> pkgname=ksh -_pkgver=2020.0.0-beta1 -pkgver=${_pkgver//-/} +pkgver=2020.0.0 pkgrel=1 pkgdesc="The Original AT&T Korn Shell" arch=('x86_64') @@ -12,35 +11,29 @@ 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' +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' - 'e99e2ca533c61005e3dd7947dfcdccef9c70719a109cb2474997105453846870') -b2sums=('9d45b6ecdb182363156bd33a984addfae8281a6498beb675456700e4ce5aea346f7720e033b8e83b6f0832b020b502cce6f8407400de1ec4b4232f7d9323f615' + '8d10ac086727ef9d1b967e2e973be29792e9a4a8c5f915087aa3a2c44d87403f') +b2sums=('29f957c7917d469fe1b322e7ac2c22435c41c226a0d9629d91d81089ab90cb381b578b163be0f424a574663c838f0cfa59357f18dd61381daa4a8d4e383b60eb' 'SKIP' - 'bcf521012bb197d234b119dc56ddc068f8ec3e46b6f4c6d82e1043629368bfcabd1a5d360bae702777e5b01914ac70c9edbdce5ee0bba7e9f69916a3c38b1820' - '9409982ecb7f2d0c4748debcd211b6879bea26e4b1f9c90e6d9e620fcde5d3b8a9d02b034813bea7cb2298a136e911dfcf3f6f303b4fd1f1a5e6c16e0a758f3a') + 'bcf521012bb197d234b119dc56ddc068f8ec3e46b6f4c6d82e1043629368bfcabd1a5d360bae702777e5b01914ac70c9edbdce5ee0bba7e9f69916a3c38b1820') validpgpkeys=('4BF045ACC726FE4E9DFC1D7762213CE2D3CB82EA') # Siteshwar Vashisht <[email protected]> export NINJA=/usr/bin/samu prepare() { - cd "${srcdir}"/ksh-${_pkgver} + 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 + mkdir -p "${srcdir}"/ksh-${pkgver}/build + cd "${srcdir}"/ksh-${pkgver}/build meson --prefix /usr \ --buildtype=plain \ @@ -49,7 +42,7 @@ } check() { - cd "${srcdir}"/ksh-${_pkgver}/build + cd "${srcdir}"/ksh-${pkgver}/build # a couple tests are flaky and may time out meson test -t 3 --print-errorlogs @@ -56,7 +49,7 @@ } package() { - cd "${srcdir}"/ksh-${_pkgver}/build + cd "${srcdir}"/ksh-${pkgver}/build DESTDIR="${pkgdir}" samu install ln -s ksh "${pkgdir}"/usr/bin/ksh93
