[arch-commits] Commit in xplr/repos/community-x86_64 (PKGBUILD PKGBUILD)
Orhun Parmaksiz
orhun at gemini.archlinux.org
Tue Jan 11 17:42:32 UTC 2022
Date: Tuesday, January 11, 2022 @ 17:42:31
Author: orhun
Revision: 1100649
archrelease: copy trunk to community-x86_64
Added:
xplr/repos/community-x86_64/PKGBUILD
(from rev 1100648, xplr/trunk/PKGBUILD)
Deleted:
xplr/repos/community-x86_64/PKGBUILD
----------+
PKGBUILD | 93 ++++++++++++++++++++++++++++++-------------------------------
1 file changed, 47 insertions(+), 46 deletions(-)
Deleted: PKGBUILD
===================================================================
--- PKGBUILD 2022-01-11 17:42:20 UTC (rev 1100648)
+++ PKGBUILD 2022-01-11 17:42:31 UTC (rev 1100649)
@@ -1,46 +0,0 @@
-# Maintainer: Orhun Parmaksız <orhun at archlinux.org>
-# Maintainer: Maxim Baz <$pkgname at maximbaz dot com>
-
-pkgname=xplr
-pkgver=0.17.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=('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=('fbf278097e2b5fb6e0a0d946cc234d6cc4b33989e3c24304ca3413a83ae56b245b8c37285fb8b9a77e41a5b97f472cc2139fe2768f3b025d75d4764bfa7429cd'
- '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 1100648, xplr/trunk/PKGBUILD)
===================================================================
--- PKGBUILD (rev 0)
+++ PKGBUILD 2022-01-11 17:42:31 UTC (rev 1100649)
@@ -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.1
+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=('fee46a68b2891c52e553ec35fe746fd95bcbaf45e21109a3395b1f43f656a5fbfe76352c6dcf3ae0473df7b3eed89aabba83294698113d478f5a21b48d87fd35'
+ '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