mirror of
https://gitdl.cn/https://github.com/chakralinux/lib32.git
synced 2025-02-03 06:37:16 +08:00
36 lines
1.0 KiB
Bash
36 lines
1.0 KiB
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.120_r1
|
|
pkgrel=3
|
|
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
|
|
${pkgname}.desktop
|
|
lib64-fix.patch)
|
|
md5sums=('1ed212026d1f082ac57f12a61694f7bc'
|
|
'bd91a0c611fc07ca05288ad6f2beb16e'
|
|
'2b255af97750667c1f8cd286f777af4d')
|
|
|
|
build() {
|
|
cd ${srcdir}/${pkgname}-${pkgver/_/-}
|
|
patch -Np1 -i ../lib64-fix.patch || return 1
|
|
cmake -DCMAKE_INSTALL_PREFIX=/usr -DWITH_WINETRIKS=ON .
|
|
make
|
|
make DESTDIR=${pkgdir} install
|
|
install -D ${startdir}/${pkgname}.desktop ${pkgdir}/usr/share/applications/${pkgname}.desktop
|
|
}
|