Build the upstream 1.2.0 source release for x86_64 and follow stable GitHub releases through the published SHA256SUMS manifest.
25 lines
760 B
Bash
25 lines
760 B
Bash
pkgname=omakade
|
|
pkgver=1.2.0
|
|
pkgrel=1
|
|
pkgdesc='A beautiful, local-first game library for Omarchy'
|
|
arch=('x86_64')
|
|
url='https://tsouth89.github.io/omakade/'
|
|
license=('GPL-3.0-or-later')
|
|
depends=('glib2' 'libsecret' 'qt6-base' 'qt6-declarative' 'qt6-wayland' 'sdl3')
|
|
makedepends=('cmake' 'ninja' 'pkgconf')
|
|
options=('!debug')
|
|
source=("$pkgname-$pkgver.tar.gz::https://github.com/tsouth89/omakade/releases/download/v$pkgver/$pkgname-$pkgver.tar.gz")
|
|
sha256sums=('292b62b7598e2f27dabe46aaa131d33180f49082ed09efc5727a7925e365edac')
|
|
|
|
build() {
|
|
cmake -S "$pkgname-$pkgver" -B build -G Ninja \
|
|
-DCMAKE_BUILD_TYPE=Release \
|
|
-DCMAKE_INSTALL_PREFIX=/usr \
|
|
-DBUILD_TESTING=OFF
|
|
cmake --build build
|
|
}
|
|
|
|
package() {
|
|
DESTDIR="$pkgdir" cmake --install build
|
|
}
|