Date: Wednesday, July 31, 2019 @ 19:40:02 Author: alad Revision: 495873
archrelease: copy trunk to community-x86_64 Added: mksh/repos/community-x86_64/PKGBUILD (from rev 495872, mksh/trunk/PKGBUILD) mksh/repos/community-x86_64/mksh.install (from rev 495872, mksh/trunk/mksh.install) Deleted: mksh/repos/community-x86_64/PKGBUILD mksh/repos/community-x86_64/mksh.install --------------+ PKGBUILD | 77 ++++++++++++++++++++++++++++----------------------------- mksh.install | 28 ++++++++++---------- 2 files changed, 53 insertions(+), 52 deletions(-) Deleted: PKGBUILD =================================================================== --- PKGBUILD 2019-07-31 19:39:49 UTC (rev 495872) +++ PKGBUILD 2019-07-31 19:40:02 UTC (rev 495873) @@ -1,38 +0,0 @@ -# Maintainer: Alad Wenter <a...@archlinux.org> -# Contributor: Thorsten Töpper <atsutane...@freethoughts.de> -# Contributor: Daniel Hommel <dhom...@gmail.com> - -pkgname=mksh -_pkgver=R57 -pkgver=57 -pkgrel=1 -pkgdesc='MirBSD Korn Shell' -url='https://www.mirbsd.org/mksh.htm' -license=('custom') -arch=('x86_64') -depends=('glibc') -install=mksh.install -source=("https://www.mirbsd.org/MirOS/dist/mir/mksh/$pkgname-$_pkgver.tgz") -sha256sums=('3d101154182d52ae54ef26e1360c95bc89c929d28859d378cc1c84f3439dbe75') - -check() { - cd "$pkgname" - ./test.sh -} - -build() { - cd "$pkgname" - sh Build.sh -r -} - -package() { - cd "$pkgname" - install -D -m 755 mksh "$pkgdir/usr/bin/mksh" - install -D -m 644 mksh.1 "$pkgdir/usr/share/man/man1/mksh.1" - install -D -m 644 dot.mkshrc "$pkgdir/etc/skel/.mkshrc" - - mkdir -p "$pkgdir/usr/share/licenses/mksh/" - sed -n '/Copyright/,/\*\//p' main.c > "$pkgdir/usr/share/licenses/mksh/LICENSE" -} - -# vim:set ts=2 sw=2 et: Copied: mksh/repos/community-x86_64/PKGBUILD (from rev 495872, mksh/trunk/PKGBUILD) =================================================================== --- PKGBUILD (rev 0) +++ PKGBUILD 2019-07-31 19:40:02 UTC (rev 495873) @@ -0,0 +1,39 @@ +# Maintainer: Alad Wenter <a...@archlinux.org> +# Contributor: Thorsten Töpper <atsutane...@freethoughts.de> +# Contributor: Daniel Hommel <dhom...@gmail.com> + +pkgname=mksh +_pkgver=R57 +pkgver=57 +pkgrel=2 +pkgdesc='MirBSD Korn Shell' +url='https://www.mirbsd.org/mksh.htm' +license=('custom') +arch=('x86_64') +depends=('glibc') +checkdepends=('ed') +install=mksh.install +source=("https://www.mirbsd.org/MirOS/dist/mir/mksh/$pkgname-$_pkgver.tgz") +sha256sums=('3d101154182d52ae54ef26e1360c95bc89c929d28859d378cc1c84f3439dbe75') + +check() { + cd "$pkgname" + PERL=/usr/bin/perl ./test.sh +} + +build() { + cd "$pkgname" + sh Build.sh -r +} + +package() { + cd "$pkgname" + install -D -m 755 mksh "$pkgdir/usr/bin/mksh" + install -D -m 644 mksh.1 "$pkgdir/usr/share/man/man1/mksh.1" + install -D -m 644 dot.mkshrc "$pkgdir/etc/skel/.mkshrc" + + mkdir -p "$pkgdir/usr/share/licenses/mksh/" + sed -n '/Copyright/,/\*\//p' main.c > "$pkgdir/usr/share/licenses/mksh/LICENSE" +} + +# vim:set ts=2 sw=2 et: Deleted: mksh.install =================================================================== --- mksh.install 2019-07-31 19:39:49 UTC (rev 495872) +++ mksh.install 2019-07-31 19:40:02 UTC (rev 495873) @@ -1,14 +0,0 @@ -post_install() { - grep -qx /bin/mksh /etc/shells || echo /bin/mksh >>/etc/shells - grep -qx /usr/bin/mksh /etc/shells || echo /usr/bin/mksh >>/etc/shells -} - -post_upgrade() { - post_install -} - -post_remove() { - sed -i -r '/^(\/usr)?\/bin\/mksh$/d' etc/shells -} - -# vim:set ts=2 sw=2 et: Copied: mksh/repos/community-x86_64/mksh.install (from rev 495872, mksh/trunk/mksh.install) =================================================================== --- mksh.install (rev 0) +++ mksh.install 2019-07-31 19:40:02 UTC (rev 495873) @@ -0,0 +1,14 @@ +post_install() { + grep -qx /bin/mksh /etc/shells || echo /bin/mksh >>/etc/shells + grep -qx /usr/bin/mksh /etc/shells || echo /usr/bin/mksh >>/etc/shells +} + +post_upgrade() { + post_install +} + +post_remove() { + sed -i -r '/^(\/usr)?\/bin\/mksh$/d' etc/shells +} + +# vim:set ts=2 sw=2 et: