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

Daniel M. Capella polyzen at archlinux.org
Fri Dec 28 20:42:01 UTC 2018


    Date: Friday, December 28, 2018 @ 20:42:01
  Author: polyzen
Revision: 418771

archrelease: copy trunk to community-x86_64

Added:
  vivid/repos/community-x86_64/
  vivid/repos/community-x86_64/PKGBUILD
    (from rev 418770, vivid/trunk/PKGBUILD)

----------+
 PKGBUILD |   28 ++++++++++++++++++++++++++++
 1 file changed, 28 insertions(+)

Copied: vivid/repos/community-x86_64/PKGBUILD (from rev 418770, vivid/trunk/PKGBUILD)
===================================================================
--- community-x86_64/PKGBUILD	                        (rev 0)
+++ community-x86_64/PKGBUILD	2018-12-28 20:42:01 UTC (rev 418771)
@@ -0,0 +1,28 @@
+# Maintainer: Daniel M. Capella <polyzen at archlinux.org>
+
+pkgname=vivid
+pkgver=0.4.0
+pkgrel=2
+pkgdesc='LS_COLORS manager with multiple themes'
+arch=('x86_64')
+url=https://github.com/sharkdp/vivid
+license=('Apache' 'MIT')
+depends=('gcc-libs')
+makedepends=('rust')
+source=("$url/archive/v$pkgver/$pkgname-v$pkgver.tar.gz")
+sha512sums=('debef0a9a46b4afee3bee96fa3f877525d0208395adbe5ac70ba37da81037243839f2dd180749cf4e2c1c1824ebe76d4edab5b1e80aa8cf99339bdd7552b1a77')
+
+build() {
+  cd $pkgname-$pkgver
+  cargo build --release --locked
+}
+
+package() {
+  cd $pkgname-$pkgver
+  install -Dt "$pkgdir"/usr/bin target/release/vivid
+  install -Dm644 -t "$pkgdir"/usr/share/$pkgname config/*
+  install -Dm644 -t "$pkgdir"/usr/share/$pkgname/themes themes/*
+  install -Dm644 -t "$pkgdir"/usr/share/licenses/$pkgname LICENSE-MIT
+}
+
+# vim:set ts=2 sw=2 et:



More information about the arch-commits mailing list