diff options
author | Síle Ekaterin Liszka <sheila@vulpine.house> | 2024-08-27 16:49:15 -0700 |
---|---|---|
committer | A. Wilcox <AWilcox@Wilcox-Tech.com> | 2024-11-29 04:54:51 -0600 |
commit | 274f032e47baf75d132e56510cb28a07dcbbe021 (patch) | |
tree | 52e621b6c02c218e741f915dc159afbd99f14113 /user | |
parent | 951b8932322f9e22a5cb191935ebc69503a83dce (diff) | |
download | packages-274f032e47baf75d132e56510cb28a07dcbbe021.tar.gz packages-274f032e47baf75d132e56510cb28a07dcbbe021.tar.bz2 packages-274f032e47baf75d132e56510cb28a07dcbbe021.tar.xz packages-274f032e47baf75d132e56510cb28a07dcbbe021.zip |
user/libliftoff: new package
Diffstat (limited to 'user')
-rw-r--r-- | user/libliftoff/APKBUILD | 34 |
1 files changed, 34 insertions, 0 deletions
diff --git a/user/libliftoff/APKBUILD b/user/libliftoff/APKBUILD new file mode 100644 index 000000000..f20afd85f --- /dev/null +++ b/user/libliftoff/APKBUILD @@ -0,0 +1,34 @@ +# Contributor: Síle Ekaterin Liszka <sheila@vulpine.house> +# Maintainer: Síle Ekaterin Liszka <sheila@vulpine.house> +pkgname=libliftoff +pkgver=0.5.0 +pkgrel=0 +pkgdesc="A lightweight KMS plane library" +url="https://gitlab.freedesktop.org/emersion/libliftoff" +arch="all" +license="MIT" +depends="" +makedepends="meson libdrm-dev" +subpackages="$pkgname-dev" +source="https://gitlab.freedesktop.org/emersion/libliftoff/-/releases/v$pkgver/downloads/libliftoff-$pkgver.tar.gz" + +build() { + meson setup \ + --prefix=/usr \ + --sysconfdir=/etc \ + --mandir=/usr/share/man \ + --localstatedir=/var \ + --buildtype=release \ + . output + meson compile -C output +} + +check() { + meson test -C output +} + +package() { + DESTDIR="$pkgdir" meson install -C output +} + +sha512sums="ce808f6a087f1f629cfebef95bfc7e216a09fb409b96b3c9f6b84d9d986ce50c5d7bf5b45c68e8baa99566b3627d754c269855b6f4ec3be63ae7b9f5109d5f08 libliftoff-0.5.0.tar.gz" |