[arch-commits] Commit in xplr/repos/community-x86_64 (PKGBUILD PKGBUILD)
Orhun Parmaksiz
orhun at gemini.archlinux.org
Mon Nov 15 17:34:07 UTC 2021
Date: Monday, November 15, 2021 @ 17:34:07
Author: orhun
Revision: 1048351
archrelease: copy trunk to community-x86_64
Added:
xplr/repos/community-x86_64/PKGBUILD
(from rev 1048350, xplr/trunk/PKGBUILD)
Deleted:
xplr/repos/community-x86_64/PKGBUILD
----------+
PKGBUILD | 92 ++++++++++++++++++++++++++++++-------------------------------
1 file changed, 46 insertions(+), 46 deletions(-)
Deleted: PKGBUILD
===================================================================
--- PKGBUILD 2021-11-15 17:34:01 UTC (rev 1048350)
+++ PKGBUILD 2021-11-15 17:34:07 UTC (rev 1048351)
@@ -1,46 +0,0 @@
-# Maintainer: Orhun Parmaksız <orhun at 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:
Copied: xplr/repos/community-x86_64/PKGBUILD (from rev 1048350, xplr/trunk/PKGBUILD)
===================================================================
--- PKGBUILD (rev 0)
+++ PKGBUILD 2021-11-15 17:34:07 UTC (rev 1048351)
@@ -0,0 +1,46 @@
+# Maintainer: Orhun Parmaksız <orhun at archlinux.org>
+# Maintainer: Maxim Baz <$pkgname at maximbaz dot com>
+
+pkgname=xplr
+pkgver=0.16.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=('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=('76ef6da41ce7714c80b84ab7878aa19caac1ad0515354754856fd1ac4cce6f63dcad7fcdc8a5cf49bfbcda7fc2f407c9c6e822bcceef94c2a70a1ff17d3e4655'
+ '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:
More information about the arch-commits
mailing list