PKGBUILD added.
This commit is contained in:
1 parent
f365af3483
commit
136497b0d0
1 file changed
+6
-1
@@ -1,5 +1,5 @@
|
||||
pkgname=wine-access-git
|
||||
pkgver=r1.g6edf455
|
||||
pkgver=r3.gf365af3
|
||||
pkgrel=1
|
||||
pkgdesc='Wine accessibility helper with MSAA, NVDA Controller, and Tolk compatibility for Cthulhu'
|
||||
arch=('x86_64')
|
||||
@@ -9,6 +9,8 @@ depends=('glib2' 'wine')
|
||||
makedepends=('cmake' 'git' 'pkgconf')
|
||||
provides=('wine-access')
|
||||
conflicts=('wine-access')
|
||||
# Wine's import generation needs native object symbols, which LTO hides.
|
||||
options=('!lto')
|
||||
|
||||
# Use authenticated SSH while the repository is private. This can also be
|
||||
# overridden with a file:// URL to build from a local Git repository.
|
||||
@@ -25,6 +27,9 @@ build() {
|
||||
cmake -S "$srcdir/wine-access" -B "$srcdir/build" \
|
||||
-DCMAKE_TOOLCHAIN_FILE="$srcdir/wine-access/winelib-toolchain.cmake" \
|
||||
-DCMAKE_BUILD_TYPE=None \
|
||||
-DCMAKE_C_FLAGS="$CFLAGS" \
|
||||
-DCMAKE_CXX_FLAGS="$CXXFLAGS" \
|
||||
-DCMAKE_EXE_LINKER_FLAGS="$LDFLAGS" \
|
||||
-DCMAKE_INSTALL_PREFIX=/usr \
|
||||
-DCMAKE_INSTALL_LIBEXECDIR=libexec
|
||||
cmake --build "$srcdir/build"
|
||||
|
||||
Reference in new issue
Block a user