mirror of
https://gitdl.cn/https://github.com/chakralinux/desktop.git
synced 2025-01-24 10:32:13 +08:00
add latest wine - might work also for apps
This commit is contained in:
parent
c4c303970a
commit
4f5a9d5108
38
wine/PKGBUILD
Normal file
38
wine/PKGBUILD
Normal file
@ -0,0 +1,38 @@
|
||||
#
|
||||
# Chakra Packages for Chakra, part of chakra-project.org
|
||||
#
|
||||
# maintainer (i686): Phil Miller <philm[at]chakra-project[dog]org>
|
||||
# maintainer (x86_64): Manuel Tortosa <manutortosa[at]chakra-project[dot]org>
|
||||
|
||||
# include global config
|
||||
source ../_buildscripts/${current_repo}-${_arch}-cfg.conf
|
||||
|
||||
pkgname=wine
|
||||
pkgver=1.2rc7
|
||||
_pkgbasever=1.2-rc7
|
||||
pkgrel=1
|
||||
pkgdesc="A compatibility layer for running Windows programs"
|
||||
url="http://www.winehq.com"
|
||||
arch=('i686')
|
||||
license=('LGPL')
|
||||
depends=('fontconfig' 'libxxf86dga' 'mesa' 'libxcursor' 'libxrandr' 'libxdamage')
|
||||
makedepends=('cups' 'sane' 'fontforge' 'flex' 'bison' 'libgphoto2'
|
||||
'libxinerama' 'esound' 'giflib' 'ncurses' 'libxcomposite'
|
||||
'samba' 'libxpm' 'libxmu' 'libxxf86vm' 'perl' 'libxml2' 'jack'
|
||||
'libxslt' 'libldap' 'lcms')
|
||||
optdepends=('cups' 'sane' 'libgphoto2' 'alsa-lib' 'giflib' 'libpng' 'jack'
|
||||
'libldap' 'lcms')
|
||||
source=(http://ibiblio.org/pub/linux/system/emulators/${pkgname}/${pkgname}-${_pkgbasever}.tar.bz2)
|
||||
md5sums=('05cc63418e603f3d689bcaa7c7768d01')
|
||||
|
||||
build() {
|
||||
cd "${srcdir}/${pkgname}-${_pkgbasever}"
|
||||
|
||||
./configure --prefix=/usr \
|
||||
--sysconfdir=/etc \
|
||||
--with-x
|
||||
make depend || return 1
|
||||
make || return 1
|
||||
make prefix=${pkgdir}/usr install || return 1
|
||||
mkdir -p ${pkgdir}/etc/wine
|
||||
}
|
Loading…
Reference in New Issue
Block a user