Date: Saturday, May 21, 2022 @ 20:31:27 Author: orhun Revision: 1209894
archrelease: copy trunk to community-x86_64 Added: xplr/repos/community-x86_64/PKGBUILD (from rev 1209893, xplr/trunk/PKGBUILD) Deleted: xplr/repos/community-x86_64/PKGBUILD ----------+ PKGBUILD | 94 ++++++++++++++++++++++++++++++------------------------------- 1 file changed, 47 insertions(+), 47 deletions(-) Deleted: PKGBUILD =================================================================== --- PKGBUILD 2022-05-21 20:31:05 UTC (rev 1209893) +++ PKGBUILD 2022-05-21 20:31:27 UTC (rev 1209894) @@ -1,47 +0,0 @@ -# Maintainer: Orhun Parmaksız <or...@archlinux.org> -# Maintainer: Maxim Baz <$pkgname at maximbaz dot com> - -pkgname=xplr -pkgver=0.17.6 -pkgrel=1 -pkgdesc="A hackable, minimal, fast TUI file explorer" -arch=('x86_64') -url="https://github.com/sayanarijit/xplr" -license=('MIT') -depends=('gcc-libs' 'hicolor-icon-theme') -makedepends=('cargo') -source=("$pkgname-$pkgver.tar.gz::$url/archive/v$pkgver.tar.gz" - "$pkgname-$pkgver.tar.gz.asc::$url/releases/download/v${pkgver}/source.tar.gz.asc") -sha512sums=('b70d96ae38b64da6029249715619c88ec487aa01cd22bc26d9d455013f2412a001d594f32333c374c3ab0a1e2ec7e610abe8e3e873fd30518b77209b79f10b6e' - 'SKIP') -validpgpkeys=('D59CA14710C17C6B24717AF90F8EF5258DC38077') # Arijit Basu (June 3, 2021) -options=('!lto') - -build() { - cd "$pkgname-$pkgver" - cargo build --locked --release -} - -check() { - cd "$pkgname-$pkgver" - - # unit tests need the binary, so build it first. - # building in debug mode (both bin and tests) in order to not overwrite the binary produced in build() that we will later package - cargo build --locked - cargo test --locked -} - -package() { - cd "$pkgname-$pkgver" - install -Dm 755 "target/release/$pkgname" -t "$pkgdir/usr/bin" - install -Dm 644 docs/en/src/* -t "$pkgdir/usr/share/doc/$pkgname" - install -Dm 644 LICENSE -t "$pkgdir/usr/share/licenses/$pkgname" - install -Dm 644 src/init.lua -t "$pkgdir/usr/share/$pkgname/examples" - install -Dm 644 "assets/desktop/$pkgname.desktop" -t "$pkgdir/usr/share/applications" - for i in 128 16 32 64; do - install -Dm 644 "assets/icon/${pkgname}${i}.png" "$pkgdir/usr/share/icons/hicolor/${i}x${i}/apps/${pkgname}.png" - done - install -Dm 644 "assets/icon/$pkgname.svg" -t "$pkgdir/usr/share/icons/hicolor/scalable/apps" -} - -# vim:set ts=2 sw=2 et: Copied: xplr/repos/community-x86_64/PKGBUILD (from rev 1209893, xplr/trunk/PKGBUILD) =================================================================== --- PKGBUILD (rev 0) +++ PKGBUILD 2022-05-21 20:31:27 UTC (rev 1209894) @@ -0,0 +1,47 @@ +# Maintainer: Orhun Parmaksız <or...@archlinux.org> +# Maintainer: Maxim Baz <$pkgname at maximbaz dot com> + +pkgname=xplr +pkgver=0.18.0 +pkgrel=1 +pkgdesc="A hackable, minimal, fast TUI file explorer" +arch=('x86_64') +url="https://github.com/sayanarijit/xplr" +license=('MIT') +depends=('gcc-libs' 'hicolor-icon-theme') +makedepends=('cargo') +source=("$pkgname-$pkgver.tar.gz::$url/archive/v$pkgver.tar.gz" + "$pkgname-$pkgver.tar.gz.asc::$url/releases/download/v${pkgver}/source.tar.gz.asc") +sha512sums=('e320e9284a3589637e89b688a67b22048469cf0dd5fece4c1bf1bc9a6525ecb8c08417178c1885008b26ad2346b575322700193054b7ba4932912bb1651c3c37' + 'SKIP') +validpgpkeys=('D59CA14710C17C6B24717AF90F8EF5258DC38077') # Arijit Basu (June 3, 2021) +options=('!lto') + +build() { + cd "$pkgname-$pkgver" + cargo build --locked --release +} + +check() { + cd "$pkgname-$pkgver" + + # unit tests need the binary, so build it first. + # building in debug mode (both bin and tests) in order to not overwrite the binary produced in build() that we will later package + cargo build --locked + cargo test --locked +} + +package() { + cd "$pkgname-$pkgver" + install -Dm 755 "target/release/$pkgname" -t "$pkgdir/usr/bin" + install -Dm 644 docs/en/src/* -t "$pkgdir/usr/share/doc/$pkgname" + install -Dm 644 LICENSE -t "$pkgdir/usr/share/licenses/$pkgname" + install -Dm 644 src/init.lua -t "$pkgdir/usr/share/$pkgname/examples" + install -Dm 644 "assets/desktop/$pkgname.desktop" -t "$pkgdir/usr/share/applications" + for i in 128 16 32 64; do + install -Dm 644 "assets/icon/${pkgname}${i}.png" "$pkgdir/usr/share/icons/hicolor/${i}x${i}/apps/${pkgname}.png" + done + install -Dm 644 "assets/icon/$pkgname.svg" -t "$pkgdir/usr/share/icons/hicolor/scalable/apps" +} + +# vim:set ts=2 sw=2 et: