mirror of
https://gitdl.cn/https://github.com/chakralinux/desktop.git
synced 2025-01-26 15:12:14 +08:00
38 lines
1.3 KiB
Bash
38 lines
1.3 KiB
Bash
#
|
|
# 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.2
|
|
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}-${pkgver}.tar.bz2)
|
|
md5sums=('eb4e5423b277fc1e77807b04f366f7b7')
|
|
|
|
build() {
|
|
cd "${srcdir}/${pkgname}-${pkgver}"
|
|
|
|
./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
|
|
}
|