mirror of
https://gitdl.cn/https://github.com/chakralinux/lib32.git
synced 2025-02-09 21:27:15 +08:00
28 lines
682 B
Bash
28 lines
682 B
Bash
pkgname=q4wine
|
|
pkgver=1.2_r2
|
|
pkgrel=1
|
|
pkgdesc="Qt GUI for Wine"
|
|
arch=("x86_64")
|
|
url="http://sourceforge.net/projects/${pkgname}/"
|
|
license=("GPL3")
|
|
depends=("qt5-base" "wine" "sqlite3" "which" "icoutils" "fuseiso")
|
|
makedepends=("cmake" "qt5-tools")
|
|
optdepends=("winetricks")
|
|
options=('!emptydirs')
|
|
source=("http://downloads.sourceforge.net/${pkgname}/${pkgname}-${pkgver/_/-}.tar.bz2")
|
|
md5sums=('97624223cd80acb730082656de7f2a0e')
|
|
|
|
build() {
|
|
cd ${srcdir}/${pkgname}-${pkgver/_/-}
|
|
|
|
cmake -DCMAKE_INSTALL_PREFIX=/usr \
|
|
-DQT5=ON \
|
|
-DLIBS_ENTRY_PATH=/usr/lib/$pkgname .
|
|
make
|
|
}
|
|
|
|
package() {
|
|
cd ${srcdir}/${pkgname}-${pkgver/_/-}
|
|
make DESTDIR=${pkgdir} install
|
|
}
|