[arch-commits] Commit in wldash/repos/community-x86_64 (PKGBUILD fix-cargo-lock.patch)

Maxim Baz maximbaz at gemini.archlinux.org
Mon Jan 17 14:46:52 UTC 2022


    Date: Monday, January 17, 2022 @ 14:46:52
  Author: maximbaz
Revision: 1107774

archrelease: copy trunk to community-x86_64

Added:
  wldash/repos/community-x86_64/PKGBUILD
    (from rev 1107773, wldash/trunk/PKGBUILD)
  wldash/repos/community-x86_64/fix-cargo-lock.patch
    (from rev 1107773, wldash/trunk/fix-cargo-lock.patch)

----------------------+
 PKGBUILD             |   30 ++++++++++++++++++++++++++++++
 fix-cargo-lock.patch |   19 +++++++++++++++++++
 2 files changed, 49 insertions(+)

Copied: wldash/repos/community-x86_64/PKGBUILD (from rev 1107773, wldash/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2022-01-17 14:46:52 UTC (rev 1107774)
@@ -0,0 +1,30 @@
+# Maintainer: Maxim Baz <$pkgname at maximbaz dot com>
+
+pkgname=wldash
+pkgver=0.3.0
+pkgrel=1
+pkgdesc='Wayland launcher and dashboard'
+arch=('x86_64')
+url='https://git.sr.ht/~kennylevinsen/wldash'
+license=('GPL3')
+depends=('alsa-lib' 'dbus' 'fontconfig' 'gcc-libs' 'glibc' 'libpulse')
+makedepends=('cargo')
+source=("${pkgname}-${pkgver}.tar.gz::https://git.sr.ht/~kennylevinsen/${pkgname}/archive/v${pkgver}.tar.gz"
+        "fix-cargo-lock.patch")
+sha512sums=('48f5356e76f77f9284b5533ee410b9a6ea2cb279da29f45d827ee521c4a46213909298e4c08c05cf1964b280d0cfb5124b0b85e85437c8289d7557194b95548d'
+            '887a94e2af4aac20c118f75a63b5b12f41b925efa3a685792953dda4b02d94d08c1048cc9db61794d296470c2b85fca1fc947ba0b6f5b60dfc0ffcbba11c242a')
+
+prepare() {
+    cd "${pkgname}-v${pkgver}"
+    patch -Np1 -i "${srcdir}/fix-cargo-lock.patch"
+}
+
+build() {
+    cd "${pkgname}-v${pkgver}"
+    cargo build --release --locked
+}
+
+package() {
+    cd "${pkgname}-v${pkgver}"
+    install -Dm755 "target/release/${pkgname}" "${pkgdir}/usr/bin/${pkgname}"
+}

Copied: wldash/repos/community-x86_64/fix-cargo-lock.patch (from rev 1107773, wldash/trunk/fix-cargo-lock.patch)
===================================================================
--- fix-cargo-lock.patch	                        (rev 0)
+++ fix-cargo-lock.patch	2022-01-17 14:46:52 UTC (rev 1107774)
@@ -0,0 +1,19 @@
+commit 2538e41f001fa363d3459efe3b8102a354b06dd0
+Author: Kenny Levinsen <kl at kl.wtf>
+Date:   Sun Jan 16 23:16:30 2022 +0100
+
+    Update Cargo.lock
+
+diff --git a/Cargo.lock b/Cargo.lock
+index 3da9a07..1ad4a86 100644
+--- a/Cargo.lock
++++ b/Cargo.lock
+@@ -796,7 +796,7 @@ checksum = "712e227841d057c1ee1cd2fb22fa7e5a5461ae8e48fa2ca79ec42cfc1931183f"
+ 
+ [[package]]
+ name = "wldash"
+-version = "0.2.0"
++version = "0.3.0"
+ dependencies = [
+  "alsa",
+  "bitflags",



More information about the arch-commits mailing list