Date: Tuesday, August 16, 2022 @ 22:57:25 Author: grawlinson Revision: 1266681
archrelease: copy trunk to community-x86_64 Added: nushell/repos/community-x86_64/PKGBUILD (from rev 1266680, nushell/trunk/PKGBUILD) nushell/repos/community-x86_64/nushell.install (from rev 1266680, nushell/trunk/nushell.install) Deleted: nushell/repos/community-x86_64/PKGBUILD nushell/repos/community-x86_64/nushell.install -----------------+ PKGBUILD | 120 +++++++++++++++++++++++++++--------------------------- nushell.install | 24 +++++----- 2 files changed, 72 insertions(+), 72 deletions(-) Deleted: PKGBUILD =================================================================== --- PKGBUILD 2022-08-16 22:56:42 UTC (rev 1266680) +++ PKGBUILD 2022-08-16 22:57:25 UTC (rev 1266681) @@ -1,60 +0,0 @@ -# Maintainer: George Rawlinson <grawlin...@archlinux.org> -# Contributor: KokaKiwi <kokakiwi+...@kokakiwi.net> -# Contributor: Felix Golatofski <cont...@xdfr.de> -# Contributor: Bumsik Kim <k.bum...@gmail.com> - -pkgname=nushell -pkgver=0.66.2 -pkgrel=1 -pkgdesc='A new type of shell' -arch=('x86_64') -url='https://www.nushell.sh' -license=('MIT') -depends=('openssl' 'libxcb' 'libx11' 'curl' 'bzip2') -makedepends=('git' 'rust') -options=('!lto') -install="$pkgname.install" -_commit='5f11be69ed1bd11bf676345149fdb110271b1181' -source=("$pkgname::git+https://github.com/nushell/nushell.git#commit=$_commit") -b2sums=('SKIP') - -# NOTE: as of 0.40.0, upstream uses upx to reduce binary size, but this strips -# RELRO + PIE, so we do not enable this - -pkgver() { - cd "$pkgname" - git describe --tags -} - -prepare() { - cd "$pkgname" - cargo fetch --locked --target "$CARCH-unknown-linux-gnu" -} - -build() { - cd "$pkgname" - cargo build --release --frozen --workspace --features=extra -} - -check() { - cd "$pkgname" - cargo test --frozen --workspace --features=extra -} - -package() { - cd "$pkgname" - - # binaries - find target/release \ - -maxdepth 1 \ - -executable \ - -type f \ - -name "nu*" \ - -exec install -vDm755 -t "$pkgdir/usr/bin" "{}" + - - # documentation - install -vDm644 -t "$pkgdir/usr/share/doc/$pkgname" README.md - - # license - install -vDm644 -t "$pkgdir/usr/share/licenses/$pkgname" LICENSE -} Copied: nushell/repos/community-x86_64/PKGBUILD (from rev 1266680, nushell/trunk/PKGBUILD) =================================================================== --- PKGBUILD (rev 0) +++ PKGBUILD 2022-08-16 22:57:25 UTC (rev 1266681) @@ -0,0 +1,60 @@ +# Maintainer: George Rawlinson <grawlin...@archlinux.org> +# Contributor: KokaKiwi <kokakiwi+...@kokakiwi.net> +# Contributor: Felix Golatofski <cont...@xdfr.de> +# Contributor: Bumsik Kim <k.bum...@gmail.com> + +pkgname=nushell +pkgver=0.67.0 +pkgrel=1 +pkgdesc='A new type of shell' +arch=('x86_64') +url='https://www.nushell.sh' +license=('MIT') +depends=('openssl' 'libxcb' 'libx11' 'curl' 'bzip2') +makedepends=('git' 'rust') +options=('!lto') +install="$pkgname.install" +_commit='33674d3a98dd7510a4e4784c079dfdaecfd2e0d6' +source=("$pkgname::git+https://github.com/nushell/nushell.git#commit=$_commit") +b2sums=('SKIP') + +# NOTE: as of 0.40.0, upstream uses upx to reduce binary size, but this strips +# RELRO + PIE, so we do not enable this + +pkgver() { + cd "$pkgname" + git describe --tags +} + +prepare() { + cd "$pkgname" + cargo fetch --locked --target "$CARCH-unknown-linux-gnu" +} + +build() { + cd "$pkgname" + cargo build --release --frozen --workspace --features=extra +} + +check() { + cd "$pkgname" + cargo test --frozen --workspace --features=extra +} + +package() { + cd "$pkgname" + + # binaries + find target/release \ + -maxdepth 1 \ + -executable \ + -type f \ + -name "nu*" \ + -exec install -vDm755 -t "$pkgdir/usr/bin" "{}" + + + # documentation + install -vDm644 -t "$pkgdir/usr/share/doc/$pkgname" README.md + + # license + install -vDm644 -t "$pkgdir/usr/share/licenses/$pkgname" LICENSE +} Deleted: nushell.install =================================================================== --- nushell.install 2022-08-16 22:56:42 UTC (rev 1266680) +++ nushell.install 2022-08-16 22:57:25 UTC (rev 1266681) @@ -1,12 +0,0 @@ -post_install() { - grep -Fqx /bin/nu /etc/shells || echo /bin/nu >> /etc/shells - grep -Fqx /usr/bin/nu /etc/shells || echo /usr/bin/nu >> /etc/shells -} - -post_upgrade() { - post_install -} - -pre_remove() { - sed -i -r '/^(\/usr)?\/bin\/nu$/d' etc/shells -} Copied: nushell/repos/community-x86_64/nushell.install (from rev 1266680, nushell/trunk/nushell.install) =================================================================== --- nushell.install (rev 0) +++ nushell.install 2022-08-16 22:57:25 UTC (rev 1266681) @@ -0,0 +1,12 @@ +post_install() { + grep -Fqx /bin/nu /etc/shells || echo /bin/nu >> /etc/shells + grep -Fqx /usr/bin/nu /etc/shells || echo /usr/bin/nu >> /etc/shells +} + +post_upgrade() { + post_install +} + +pre_remove() { + sed -i -r '/^(\/usr)?\/bin\/nu$/d' etc/shells +}