Initial commit.

This commit is contained in:
Storm Dragon committed 2026-10-09 14:19:59 -04:00
1 parent 6edf455bdd
commit f365af3483
3 files changed
+115 -1

No files matched your search

@@ -0,0 +1,40 @@
pkgname=wine-access-git
pkgver=r1.g6edf455
pkgrel=1
pkgdesc='Wine accessibility helper with MSAA, NVDA Controller, and Tolk compatibility for Cthulhu'
arch=('x86_64')
url='https://git.stormux.org/storm/wine-access'
license=('LGPL-2.1-or-later')
depends=('glib2' 'wine')
makedepends=('cmake' 'git' 'pkgconf')
provides=('wine-access')
conflicts=('wine-access')
# Use authenticated SSH while the repository is private. This can also be
# overridden with a file:// URL to build from a local Git repository.
_git_url=${WINE_ACCESS_GIT_URL:-ssh://gitea@git.stormux.org:1101/storm/wine-access}
source=("wine-access::git+${_git_url}")
sha256sums=('SKIP')
pkgver() {
cd "$srcdir/wine-access"
printf 'r%s.g%s' "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)"
}
build() {
cmake -S "$srcdir/wine-access" -B "$srcdir/build" \
-DCMAKE_TOOLCHAIN_FILE="$srcdir/wine-access/winelib-toolchain.cmake" \
-DCMAKE_BUILD_TYPE=None \
-DCMAKE_INSTALL_PREFIX=/usr \
-DCMAKE_INSTALL_LIBEXECDIR=libexec
cmake --build "$srcdir/build"
}
package() {
DESTDIR="$pkgdir" cmake --install "$srcdir/build"
# CMake installs these artifacts as files; Wine's launcher must be executable.
chmod 755 "$pkgdir/usr/libexec/cthulhu/wine/cthulhu-wine-access.exe"
install -Dm644 "$srcdir/wine-access/README.md" \
"$pkgdir/usr/share/doc/wine-access/README.md"
}