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

Maxim Baz maximbaz at archlinux.org
Thu Apr 2 21:17:19 UTC 2020


    Date: Thursday, April 2, 2020 @ 21:17:18
  Author: maximbaz
Revision: 610333

archrelease: copy trunk to community-x86_64

Added:
  wofi/repos/community-x86_64/
  wofi/repos/community-x86_64/PKGBUILD
    (from rev 610332, wofi/trunk/PKGBUILD)

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

Copied: wofi/repos/community-x86_64/PKGBUILD (from rev 610332, wofi/trunk/PKGBUILD)
===================================================================
--- community-x86_64/PKGBUILD	                        (rev 0)
+++ community-x86_64/PKGBUILD	2020-04-02 21:17:18 UTC (rev 610333)
@@ -0,0 +1,31 @@
+# Maintainer: Maxim Baz <$pkgname at maximbaz dot com>
+# Contributor: Ian Brunelli <ian at brunelli.me>
+
+pkgname=wofi
+pkgver=1.1.2
+pkgrel=2
+pkgdesc='launcher for wlroots-based wayland compositors'
+arch=('x86_64')
+url='https://hg.sr.ht/~scoopta/wofi'
+license=('GPL3')
+depends=('wayland' 'gtk3')
+makedepends=('meson')
+source=("${pkgname}-v${pkgver}.tar.gz::https://hg.sr.ht/~scoopta/wofi/archive/v${pkgver}.tar.gz")
+# We have to SKIP the validity check to avoid an issue with hg.sr.ht:
+# https://todo.sr.ht/~sircmpwn/hg.sr.ht/33
+sha256sums=('SKIP')
+
+build() {
+    cd "${pkgname}-v${pkgver}"
+    meson build
+    ninja -C build
+}
+
+package() {
+    cd "${pkgname}-v${pkgver}"
+    install -Dm755 -t "${pkgdir}/usr/bin/" build/wofi
+    install -Dm644 -t "${pkgdir}/usr/share/man/man1/" man/*.1
+    install -Dm644 -t "${pkgdir}/usr/share/man/man3/" man/*.3
+    install -Dm644 -t "${pkgdir}/usr/share/man/man5/" man/*.5
+    install -Dm644 -t "${pkgdir}/usr/share/man/man7/" man/*.7
+}


More information about the arch-commits mailing list