# Maintainer: jc_gargma # Maintainer (AUR): Capezotte ( base32 -d <<<'NVXWGLTMNFQW2Z2AHE4TAMTBNZQXEYLDBI======' | rev ) # Contributor (AUR): Jake # Contributor (AUR): Sergej Pupykin # Contributor (AUR): Chris Giles # # I maintain this because: # I use it and it is not in an official repo # AUR version lacks additional optimization and hardening flags pkgname=q4wine pkgver=1.3.13 pkgrel=1 pkgdesc="A Qt5 GUI for Wine" arch=("x86_64") url="http://sourceforge.net/projects/${pkgname}/" license=("GPL3") depends=("qt5-base" "wine-staging" "sqlite" "which" "icoutils") makedepends=("cmake" "qt5-tools" "qt5-svg") optdepends=("winetricks" "fuseiso") options=('!emptydirs') conflicts=('q4wine') source=("${pkgname}-${pkgver}.tar.gz::https://github.com/brezerk/q4wine/archive/v${pkgver}.tar.gz") b2sums=('c4896343f86e24a107c9584394985e9d0063a55fa81ef3eb9d038fce67cf9d8f51d5a201824253b3c716aaa4f1f3738ad7b083477dc4bbb3d619eb4603981880') build() { cd "$srcdir"/${pkgname}-${pkgver/_/-} # PIE breaks compiling export CFLAGS="$CFLAGS -O3 -fstack-protector-all -flto=4 -fPIC" export CXXFLAGS="$CXXFLAGS -O3 -fstack-protector-all -flto=4 -fPIC" cmake \ -DCMAKE_INSTALL_PREFIX=/usr \ -DLIBS_ENTRY_PATH=/usr/lib/$pkgname \ -DQT5=ON \ . make } package() { cd "$srcdir"/${pkgname}-${pkgver/_/-} make DESTDIR="$pkgdir" install }