Date: Wednesday, November 10, 2021 @ 20:46:56 Author: orhun Revision: 1040320
archrelease: copy trunk to community-x86_64 Added: xplr/repos/community-x86_64/PKGBUILD (from rev 1040319, xplr/trunk/PKGBUILD) Deleted: xplr/repos/community-x86_64/PKGBUILD ----------+ PKGBUILD | 92 ++++++++++++++++++++++++++++++------------------------------- 1 file changed, 46 insertions(+), 46 deletions(-) Deleted: PKGBUILD =================================================================== --- PKGBUILD 2021-11-10 20:46:49 UTC (rev 1040319) +++ PKGBUILD 2021-11-10 20:46:56 UTC (rev 1040320) @@ -1,46 +0,0 @@ -# Maintainer: Orhun Parmaksız <or...@archlinux.org> -# Maintainer: Maxim Baz <$pkgname at maximbaz dot com> - -pkgname=xplr -pkgver=0.15.2 -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=('rust') -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=('502ceb0661ac3cdde337d76a5eef5089902b2ad906cde0465b63a89141a554ddb56ef4a4747e7064eda48e58d4037e36e36dfe709d6a67da986b1f953033fc3c' - 'SKIP') -validpgpkeys=('D59CA14710C17C6B24717AF90F8EF5258DC38077') # Arijit Basu (June 3, 2021) - -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 1040319, xplr/trunk/PKGBUILD) =================================================================== --- PKGBUILD (rev 0) +++ PKGBUILD 2021-11-10 20:46:56 UTC (rev 1040320) @@ -0,0 +1,46 @@ +# Maintainer: Orhun Parmaksız <or...@archlinux.org> +# Maintainer: Maxim Baz <$pkgname at maximbaz dot com> + +pkgname=xplr +pkgver=0.16.3 +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=('rust') +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=('a36ee403cae2df4a8b8c732beaa452cf2cf8e3e69472e32b3beb5746dae4a4aee797dc637f8784223b06ab629dab7988c210706a5190a704878c189fe909cc55' + 'SKIP') +validpgpkeys=('D59CA14710C17C6B24717AF90F8EF5258DC38077') # Arijit Basu (June 3, 2021) + +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: