mirror of
https://gitdl.cn/https://github.com/chakralinux/lib32.git
synced 2025-02-14 04:29:03 +08:00
32 lines
926 B
Bash
32 lines
926 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.120_r1
|
||
|
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 ${pkgname}.desktop)
|
||
|
md5sums=('1ed212026d1f082ac57f12a61694f7bc'
|
||
|
'bd91a0c611fc07ca05288ad6f2beb16e')
|
||
|
|
||
|
build() {
|
||
|
cd ${srcdir}/${pkgname}-${pkgver/_/-}
|
||
|
cmake -DCMAKE_INSTALL_PREFIX=/usr -DWITH_WINETRIKS=ON .
|
||
|
make
|
||
|
make DESTDIR=${pkgdir} install
|
||
|
install -D ${startdir}/${pkgname}.desktop ${pkgdir}/usr/share/applications/${pkgname}.desktop
|
||
|
}
|