[arch-commits] Commit in xplr/repos/community-x86_64 (PKGBUILD PKGBUILD)
Orhun Parmaksiz
orhun at gemini.archlinux.org
Sat Aug 28 00:23:40 UTC 2021
Date: Saturday, August 28, 2021 @ 00:23:39
Author: orhun
Revision: 1007531
archrelease: copy trunk to community-x86_64
Added:
xplr/repos/community-x86_64/PKGBUILD
(from rev 1007530, xplr/trunk/PKGBUILD)
Deleted:
xplr/repos/community-x86_64/PKGBUILD
----------+
PKGBUILD | 92 ++++++++++++++++++++++++++++++-------------------------------
1 file changed, 46 insertions(+), 46 deletions(-)
Deleted: PKGBUILD
===================================================================
--- PKGBUILD 2021-08-28 00:23:29 UTC (rev 1007530)
+++ PKGBUILD 2021-08-28 00:23:39 UTC (rev 1007531)
@@ -1,46 +0,0 @@
-# Maintainer: Orhun Parmaksız <orhun at archlinux.org>
-# Maintainer: Maxim Baz <$pkgname at maximbaz dot com>
-
-pkgname=xplr
-pkgver=0.14.5
-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=('cc84d695bd103972f2f9a89e4d0bb6a4e2f27d41ac65099c8d7907c96f1d5fc2ec7a966b23117eba81683ca2f0bfb4e65e6170d4ba2c04a751dab67d80657338'
- '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 1007530, xplr/trunk/PKGBUILD)
===================================================================
--- PKGBUILD (rev 0)
+++ PKGBUILD 2021-08-28 00:23:39 UTC (rev 1007531)
@@ -0,0 +1,46 @@
+# Maintainer: Orhun Parmaksız <orhun at archlinux.org>
+# Maintainer: Maxim Baz <$pkgname at maximbaz dot com>
+
+pkgname=xplr
+pkgver=0.14.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=('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=('2d476f65cf30ad6e2968ba9d7b8107372af658a8c353f1df6457c263a8ae00e70c207b737cd9eeb2194e0ed51be6b89673d87119d9259ea65c41e49103c6237d'
+ '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