Received: from mx.galenabell.com (mx.galenabell.com [116.203.221.235]) by nld3-dev1.alpinelinux.org (Postfix) with ESMTPS id 5FD08781A7F for ; Fri, 22 Nov 2019 12:46:28 +0000 (UTC) From: Galen Abell DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=galenabell.com; s=mail; t=1574426787; bh=VGay0uUG/SpowZy7CSJlrg39sNvs1rbX+SfZDDAVkhA=; h=From:To:Cc:Subject:Date; b=iX2DornjRULqRR8x1E3yvhwmtsY+YVogBeSaN4//MC/oo5OyDQjFUIarWVM9glF0u mzsIeilhFs4GwcVc2WpqFanIW4SvWjs6O3mvsfKMh+9BnAT3BMFQG8fMx0k1/E0E1E 6h4uxOLWKe8LbBKmpxG4emX5l3qM7gPdCos4m2Zg= To: alpine-aports@lists.alpinelinux.org Cc: Galen Abell Subject: [PATCH] testing/wob: new aport Date: Fri, 22 Nov 2019 13:45:44 +0100 Message-Id: <20191122124543.29153-1-galen@galenabell.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit https://github.com/francma/wob A lightweight overlay volume/backlight/progress/anything bar for Wayland. testing/ --- testing/wob/APKBUILD | 42 ++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 42 insertions(+) create mode 100644 testing/wob/APKBUILD diff --git a/testing/wob/APKBUILD b/testing/wob/APKBUILD new file mode 100644 index 0000000000..072f2e36f4 --- /dev/null +++ b/testing/wob/APKBUILD @@ -0,0 +1,42 @@ +# Contributor: Galen Abell +# Maintainer: Galen Abell +pkgname="wob" +pkgver="0.4" +_wlr_commit="59497d93794efac39d8c85b1d964ad8a461cbeb6" # git hash for wlr-protocols +pkgrel=0 +pkgdesc="A lightweight overlay volume/backlight/progress/anything bar for Wayland." +url="https://github.com/francma/wob" +arch="all" +license="ISC" +makedepends="meson git wayland-protocols wayland-dev" +source=" + wob-$pkgver.tar.gz::https://github.com/francma/wob/archive/$pkgver.tar.gz + wlr-protocols-$_wlr_commit.tar.gz::https://github.com/swaywm/wlr-protocols/archive/$_wlr_commit.tar.gz + " +builddir="$srcdir/wob-$pkgver" + +prepare() { + default_prepare + mv "$srcdir/wlr-protocols-$_wlr_commit"/* "$builddir"/wlr-protocols +} + +build() { + meson \ + --prefix=/usr \ + --sysconfdir=/etc \ + --mandir=/usr/share/man \ + --localstatedir=/var \ + --buildtype=release \ + build-release + ninja -C build-release +} + +check() { + ninja -C build-release test +} + +package() { + DESTDIR="$pkgdir" ninja -C build-release install +} +sha512sums="01222db5eee86ec2c9312e1eed00e491810317f78e11b4066494fd98270c31ed2fabe30e466ed0bccf3daee9c30f749c7ea956b46349a7a8ba4104d95549280f wob-0.4.tar.gz +7782c52d250dcda1b224dd8beca266392460e5622a53893ea81b578a0ff59e7e4e5ab7268b4db092e8da7ed50c209daece9b53bfd6ba834ad0a8e6a719cb69a7 wlr-protocols-59497d93794efac39d8c85b1d964ad8a461cbeb6.tar.gz" -- 2.24.0