From 66c326b6d65388e9f1003715ad9675505f01f9d2 Mon Sep 17 00:00:00 2001 From: davidovski Date: Fri, 3 Jun 2022 13:05:13 +0100 Subject: added porting from alpine linux --- repo/girara/girara.xibuild | 24 ++++++++++++++++++++++++ repo/girara/test.sh | 12 ++++++++++++ 2 files changed, 36 insertions(+) create mode 100644 repo/girara/girara.xibuild create mode 100755 repo/girara/test.sh (limited to 'repo/girara') diff --git a/repo/girara/girara.xibuild b/repo/girara/girara.xibuild new file mode 100644 index 0000000..c1dc099 --- /dev/null +++ b/repo/girara/girara.xibuild @@ -0,0 +1,24 @@ +#!/bin/sh + +NAME="girara" +DESC="gtk user interface that focuses on simplicity and minimalism" + +MAKEDEPS="gtk3 json-c intltool doxygen check ncurses meson ninja" + +PKG_VER=0.3.7 +SOURCE="https://git.pwmt.org/pwmt/girara/-/archive/$PKG_VER/girara-$PKG_VER.tar.gz" + +ADDITIONAL=" +test.sh +" + +build() { + meson --prefix=/usr \ + . build + meson compile ${JOBS:+-j ${JOBS}} -C build +} + +package() { + DESTDIR="$PKG_DEST" meson install --no-rebuild -C build +} + diff --git a/repo/girara/test.sh b/repo/girara/test.sh new file mode 100755 index 0000000..b37dc50 --- /dev/null +++ b/repo/girara/test.sh @@ -0,0 +1,12 @@ +#!/bin/sh + +Xvfb :4242 & +PID=$! +export DISPLAY=:4242 +if ninja -C build meson-test; then + kill $PID + return 0 +else + kill $PID + return 1 +fi -- cgit v1.2.1