[arch-commits] Commit in hex/repos/community-x86_64 (PKGBUILD PKGBUILD)
Orhun Parmaksiz
orhun at gemini.archlinux.org
Sun Aug 29 15:38:25 UTC 2021
Date: Sunday, August 29, 2021 @ 15:38:24
Author: orhun
Revision: 1010006
archrelease: copy trunk to community-x86_64
Added:
hex/repos/community-x86_64/PKGBUILD
(from rev 1010005, hex/trunk/PKGBUILD)
Deleted:
hex/repos/community-x86_64/PKGBUILD
----------+
PKGBUILD | 79 +++++++++++++++++++++++++++++++++----------------------------
1 file changed, 43 insertions(+), 36 deletions(-)
Deleted: PKGBUILD
===================================================================
--- PKGBUILD 2021-08-29 15:38:18 UTC (rev 1010005)
+++ PKGBUILD 2021-08-29 15:38:24 UTC (rev 1010006)
@@ -1,36 +0,0 @@
-# Maintainer: Orhun Parmaksız <orhun at archlinux.org>
-# Contributor: Sven-Hendrik Haase <svenstaro at gmail.com>
-
-pkgname=hex
-pkgver=0.4.2
-pkgrel=1
-pkgdesc="Futuristic take on hexdump"
-arch=('x86_64')
-url="https://github.com/sitkevij/hex"
-license=(MIT)
-depends=('gcc-libs')
-makedepends=('rust')
-source=($pkgname-$pkgver.tar.gz::https://github.com/sitkevij/hex/archive/v${pkgver}.tar.gz)
-sha512sums=('5b5706d931c4f6a9a21de5e883b264c9a2831a8be463a5283ac4cd3552eb44c480f45779fa6364dd97390a2d38f252b44313e4567186ec42c594451f295e648f')
-
-build() {
- cd "$srcdir/$pkgname-$pkgver"
-
- cargo build --release --locked
-}
-
-check() {
- cd "$srcdir/$pkgname-$pkgver"
-
- cargo test --release --locked
-}
-
-package() {
- cd "$srcdir/$pkgname-$pkgver"
-
- install -Dm755 target/release/hx "$pkgdir"/usr/bin/hx
- install -Dm644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
- install -Dm644 README.md "$pkgdir"/usr/share/doc/$pkgname/README.md
-}
-
-# vim:set ts=2 sw=2 et:
Copied: hex/repos/community-x86_64/PKGBUILD (from rev 1010005, hex/trunk/PKGBUILD)
===================================================================
--- PKGBUILD (rev 0)
+++ PKGBUILD 2021-08-29 15:38:24 UTC (rev 1010006)
@@ -0,0 +1,43 @@
+# Maintainer: Orhun Parmaksız <orhun at archlinux.org>
+# Contributor: Sven-Hendrik Haase <svenstaro at gmail.com>
+
+pkgname=hex
+pkgver=0.4.2
+pkgrel=2
+pkgdesc="Futuristic take on hexdump"
+arch=('x86_64')
+url="https://github.com/sitkevij/hex"
+license=(MIT)
+depends=('gcc-libs')
+makedepends=('rust')
+source=($pkgname-$pkgver.tar.gz::https://github.com/sitkevij/hex/archive/v${pkgver}.tar.gz)
+sha512sums=('5b5706d931c4f6a9a21de5e883b264c9a2831a8be463a5283ac4cd3552eb44c480f45779fa6364dd97390a2d38f252b44313e4567186ec42c594451f295e648f')
+
+prepare() {
+ cd "$srcdir/$pkgname-$pkgver"
+
+ cargo fetch --locked
+}
+
+build() {
+ cd "$srcdir/$pkgname-$pkgver"
+
+ cargo build --release --frozen
+}
+
+check() {
+ cd "$srcdir/$pkgname-$pkgver"
+
+ cargo build --frozen
+ cargo test --frozen
+}
+
+package() {
+ cd "$srcdir/$pkgname-$pkgver"
+
+ install -Dm755 target/release/hx "$pkgdir"/usr/bin/hx
+ install -Dm644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
+ install -Dm644 README.md "$pkgdir"/usr/share/doc/$pkgname/README.md
+}
+
+# vim:set ts=2 sw=2 et:
More information about the arch-commits
mailing list