[arch-commits] Commit in exa/repos/community-x86_64 (PKGBUILD PKGBUILD)

Alexander Rødseth arodseth at archlinux.org
Tue Apr 6 08:18:09 UTC 2021


    Date: Tuesday, April 6, 2021 @ 08:18:09
  Author: arodseth
Revision: 912028

archrelease: copy trunk to community-x86_64

Added:
  exa/repos/community-x86_64/PKGBUILD
    (from rev 912027, exa/trunk/PKGBUILD)
Deleted:
  exa/repos/community-x86_64/PKGBUILD

----------+
 PKGBUILD |   80 ++++++++++++++++++++++++++++---------------------------------
 1 file changed, 37 insertions(+), 43 deletions(-)

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2021-04-06 08:18:04 UTC (rev 912027)
+++ PKGBUILD	2021-04-06 08:18:09 UTC (rev 912028)
@@ -1,43 +0,0 @@
-# Maintainer: Alexander F. Rødseth <xyproto at archlinux.org>
-# Contributor: Lucas Raab <tuftedocelot at fastmail.fm>
-
-pkgname=exa
-pkgver=0.9.0
-pkgrel=3
-pkgdesc='ls replacement'
-arch=(x86_64)
-url='https://the.exa.website/'
-license=(MIT)
-depends=(gcc-libs libssh2 zlib)
-makedepends=(cargo cmake git rust)
-source=("$pkgname-$pkgver.tar.gz::https://github.com/ogham/exa/archive/v$pkgver.tar.gz"
-        # fix panic on dangling symlink
-        "https://github.com/ogham/exa/pull/584/commits/a7a8e99cf3a15992afb2383435da0231917ffb54.patch")
-b2sums=('79319085cec312ca04e490a455ad0dd921f3ee6ab16d537f0085dd4fb525212a59ff65619e166b64ff605ddecf5fc44d3945543503816491d3962e8004da8818'
-        '90ba19880a56cde0be1ffbfc0cf0e67b7367c31eed4aedd28d1ba91c8ed2bbd571850a9e23d48a9a193ae8860771e1a4b5bc2f985282e0a355f91cc58491563a')
-
-prepare() {
-  cd $pkgname-$pkgver
-  patch --strip=1 < ../a7a8e99cf3a15992afb2383435da0231917ffb54.patch
-}
-
-build() {
-  make -C $pkgname-$pkgver
-}
-
-package() {
-  cd $pkgname-$pkgver
-
-  make PREFIX="$pkgdir/usr" install
-
-  install -Dm644 contrib/completions.bash \
-    "$pkgdir/usr/share/bash-completion/completions/$pkgname"
-  install -Dm644 contrib/completions.zsh \
-    "$pkgdir/usr/share/zsh/site-functions/_$pkgname"
-  install -Dm644 contrib/completions.fish \
-    "$pkgdir/usr/share/fish/vendor_completions.d/$pkgname.fish"
-  install -Dm644 LICEN?E \
-    "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
-}
-
-# vim: ts=2 sw=2 et:

Copied: exa/repos/community-x86_64/PKGBUILD (from rev 912027, exa/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2021-04-06 08:18:09 UTC (rev 912028)
@@ -0,0 +1,37 @@
+# Maintainer: Alexander F. Rødseth <xyproto at archlinux.org>
+# Maintainer: kpcyrd <kpcyrd at archlinux.org>
+# Contributor: Lucas Raab <tuftedocelot at fastmail.fm>
+
+pkgname=exa
+pkgver=0.10.0
+pkgrel=1
+pkgdesc='ls replacement'
+arch=(x86_64)
+url='https://the.exa.website/'
+license=(MIT)
+makedepends=(cargo git pandoc)
+source=("$pkgname-$pkgver.tar.gz::https://github.com/ogham/exa/archive/v$pkgver.tar.gz")
+b2sums=('4633de80370872d0bece036f313a9c9fdef27ffa4676e12b741e60367ec074d0c5b9ba2a811d12df72c0dbb8304bfe08aa9fe3a791ec6aaa7ba6cca1cb7af351')
+
+build() {
+  cd $pkgname-$pkgver
+  cargo build --release
+  pandoc --standalone -f markdown -t man man/exa.1.md > exa.1
+  pandoc --standalone -f markdown -t man man/exa_colors.5.md > exa_colors.5
+}
+
+package() {
+  cd $pkgname-$pkgver
+  cargo install --path . --root "$pkgdir"/usr
+  rm -f "$pkgdir"/usr/.crates*
+  install -Dm644 completions/completions.bash \
+    "$pkgdir/usr/share/bash-completion/completions/$pkgname"
+  install -Dm644 completions/completions.zsh \
+    "$pkgdir/usr/share/zsh/site-functions/_$pkgname"
+  install -Dm644 completions/completions.fish \
+    "$pkgdir/usr/share/fish/vendor_completions.d/$pkgname.fish"
+  install -Dm644 LICEN?E \
+    "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
+  install -Dm644 exa.1 "$pkgdir/usr/share/man/man1/exa.1"
+  install -Dm644 exa_colors.5 "$pkgdir/usr/share/man/man5/exa_colors.5"
+}



More information about the arch-commits mailing list