mirror of
https://gitdl.cn/https://github.com/chakralinux/lib32.git
synced 2025-01-24 01:42:15 +08:00
38 lines
942 B
Bash
38 lines
942 B
Bash
#
|
|
# Apps Packages for Chakra, part of chakra-project.org
|
|
#
|
|
# maintainer (x86_64): Giuseppe calà <jiveaxe@gmail.com>
|
|
|
|
|
|
# include global config
|
|
source ../_buildscripts/${current_repo}-${_arch}-cfg.conf
|
|
|
|
pkgname=q4wine
|
|
pkgver=0.121
|
|
pkgrel=1
|
|
pkgdesc="A Qt4 GUI for Wine"
|
|
arch=("i686" "x86_64")
|
|
url="http://sourceforge.net/projects/${pkgname}/"
|
|
license=("GPL3")
|
|
depends=("qt" "wine" "sqlite3" "which" "icoutils")
|
|
makedepends=("cmake")
|
|
optdepends=("winetricks")
|
|
options=('!emptydirs' 'force')
|
|
source=(http://downloads.sourceforge.net/${pkgname}/${pkgname}-${pkgver/_/-}.tar.bz2
|
|
q4wine-gcc47.patch)
|
|
md5sums=('2de5de62f57ba6b26247198df339d81a'
|
|
'd2d4ee8abbd21edca9b0fe2a8f7c9297')
|
|
|
|
build() {
|
|
cd ${srcdir}/${pkgname}-${pkgver/_/-}
|
|
patch -Np1 -i ${srcdir}/q4wine-gcc47.patch
|
|
|
|
cmake -DCMAKE_INSTALL_PREFIX=/usr -DWITH_WINETRIKS=ON .
|
|
make
|
|
}
|
|
|
|
package() {
|
|
cd ${srcdir}/${pkgname}-${pkgver/_/-}
|
|
make DESTDIR=${pkgdir} install
|
|
}
|