[arch-commits] Commit in wmfocus/repos (community-x86_64 community-x86_64/PKGBUILD)
Sven-Hendrik Haase
svenstaro at gemini.archlinux.org
Sun Jul 11 19:18:52 UTC 2021
Date: Sunday, July 11, 2021 @ 19:18:52
Author: svenstaro
Revision: 976582
archrelease: copy trunk to community-x86_64
Added:
wmfocus/repos/community-x86_64/
wmfocus/repos/community-x86_64/PKGBUILD
(from rev 976581, wmfocus/trunk/PKGBUILD)
----------+
PKGBUILD | 28 ++++++++++++++++++++++++++++
1 file changed, 28 insertions(+)
Copied: wmfocus/repos/community-x86_64/PKGBUILD (from rev 976581, wmfocus/trunk/PKGBUILD)
===================================================================
--- community-x86_64/PKGBUILD (rev 0)
+++ community-x86_64/PKGBUILD 2021-07-11 19:18:52 UTC (rev 976582)
@@ -0,0 +1,28 @@
+# Maintainer: Sven-Hendrik Haase <svenstaro at gmail.com>
+pkgname=wmfocus
+pkgver=1.1.5
+pkgrel=1
+pkgdesc="Visually focus window by label"
+url="https://github.com/svenstaro/wmfocus"
+arch=("x86_64")
+license=("MIT")
+depends=("xcb-util-keysyms" "cairo" "libxkbcommon-x11")
+makedepends=("rust" "python")
+source=("$pkgname-$pkgver.tar.gz::https://github.com/svenstaro/$pkgname/archive/v$pkgver.tar.gz")
+sha512sums=('f9a2533dc5be51cae0c351452be75491a307aa5e7f952050d76c0b486cd41ea6e8c28a6740be051ed30b69f4002b010bb8786a2f88cab9a5be407c9788d0cffd')
+
+build() {
+ cd "$srcdir/$pkgname-$pkgver"
+ cargo build --locked --release --features i3
+}
+
+check() {
+ cd "$srcdir/$pkgname-$pkgver"
+ cargo test --locked --release --features i3
+}
+
+package() {
+ cd "$srcdir/$pkgname-$pkgver"
+ install -Dm 644 "LICENSE" "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
+ install -Dm 755 "target/release/$pkgname" "$pkgdir/usr/bin/$pkgname"
+}
More information about the arch-commits
mailing list