[arch-commits] Commit in xplr/repos/community-x86_64 (PKGBUILD PKGBUILD)
Orhun Parmaksiz
orhun at gemini.archlinux.org
Thu Apr 14 21:03:34 UTC 2022
Date: Thursday, April 14, 2022 @ 21:03:34
Author: orhun
Revision: 1186275
archrelease: copy trunk to community-x86_64
Added:
xplr/repos/community-x86_64/PKGBUILD
(from rev 1186274, xplr/trunk/PKGBUILD)
Deleted:
xplr/repos/community-x86_64/PKGBUILD
----------+
PKGBUILD | 94 ++++++++++++++++++++++++++++++-------------------------------
1 file changed, 47 insertions(+), 47 deletions(-)
Deleted: PKGBUILD
===================================================================
--- PKGBUILD 2022-04-14 21:03:07 UTC (rev 1186274)
+++ PKGBUILD 2022-04-14 21:03:34 UTC (rev 1186275)
@@ -1,47 +0,0 @@
-# Maintainer: Orhun Parmaksız <orhun at archlinux.org>
-# Maintainer: Maxim Baz <$pkgname at maximbaz dot com>
-
-pkgname=xplr
-pkgver=0.17.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=('c6dd60484cdad90a077d6f2dda59b4547c09a562f5c3b65e153096cf6439fd0baa62a9b337da66bcaadfe0374ba7d1b45fbe70e2016735a60b74b1794f5f55e1'
- '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 1186274, xplr/trunk/PKGBUILD)
===================================================================
--- PKGBUILD (rev 0)
+++ PKGBUILD 2022-04-14 21:03:34 UTC (rev 1186275)
@@ -0,0 +1,47 @@
+# Maintainer: Orhun Parmaksız <orhun at archlinux.org>
+# Maintainer: Maxim Baz <$pkgname at maximbaz dot com>
+
+pkgname=xplr
+pkgver=0.17.4
+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=('a452b4c7cdbf41b87cd723d37fdf1128dfb6dd811f02df7d15d5ff0ef11e68346f3e872267c72f099c37313c41cf975131b753e2999d177e864a190fb2258a8f'
+ '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:
More information about the arch-commits
mailing list