From ced196ec8e0ec451bb8cebfeba4ec12c9a64bb8d Mon Sep 17 00:00:00 2001 From: Síle Ekaterin Liszka Date: Tue, 27 Aug 2024 22:35:19 -0700 Subject: user/tinywl: new package --- user/tinywl/APKBUILD | 27 +++++++++++++++++++++++++++ 1 file changed, 27 insertions(+) create mode 100644 user/tinywl/APKBUILD (limited to 'user/tinywl/APKBUILD') diff --git a/user/tinywl/APKBUILD b/user/tinywl/APKBUILD new file mode 100644 index 000000000..f3ea5459e --- /dev/null +++ b/user/tinywl/APKBUILD @@ -0,0 +1,27 @@ +# Contributor: Síle Ekaterin Liszka +# Maintainer: Síle Ekaterin Liszka +pkgname=tinywl +pkgver=0.18.0 +_pkgver=${pkgver%.*} +pkgrel=0 +pkgdesc="Minimum-viable wlroots-based Wayland compositor" +url="https://gitlab.freedesktop.org/wlroots/wlroots" +arch="all" +options="!check" # no tests +license="MIT" +depends="wlroots-$_pkgver" +makedepends="wayland-protocols wlroots-$_pkgver-dev" +subpackages="" +source="https://gitlab.freedesktop.org/wlroots/wlroots/-/releases/$pkgver/downloads/wlroots-$pkgver.tar.gz" +builddir="$srcdir/wlroots-$pkgver/tinywl" + +build() { + make +} + +package() { + mkdir -p "$pkgdir"/usr/bin + install -m755 tinywl "$pkgdir"/usr/bin/tinywl +} + +sha512sums="2cf848aa67f41089b60cc7d01c3a344ebaf7f5bbced459675fef885cd4b3e6b99d9a49d6b127518314d0ae38e52e9aff7991611592b2add4cba96f15aa0bf1c6 wlroots-0.18.0.tar.gz" -- cgit v1.2.3-70-g09d2