summaryrefslogtreecommitdiff
path: root/libre/winetricks-libre/PKGBUILD
blob: 9b74efa9cb564e8c41c9d087a3bfc8d81f7fedcf (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
# $Id: PKGBUILD 107291 2014-03-16 16:05:59Z lfleischer $
# Maintainer (Arch): Lukas Fleischer <archlinux at cryptocrack dot de>
# Contributor (Arch): Laurent Carlier <lordheavym@gmail.com>
# Contributor (Arch): DsTr <dstr@gmail.com>
# Contributor (Arch): Allan McRae <allan@archlinux.org>
# Maintainer: André Silva <emulatorman@parabola.nu>
# Contributor: Gaming4JC <gaming4jc2@yahoo.com>

_pkgname=winetricks
pkgname=winetricks-libre
pkgver=1.0
pkgrel=1
pkgdesc='Script to install various redistributable runtime libraries in Wine (a libre fork of winetricks)'
url='https://github.com/g4jc/winetricks-libre'
license=('LGPL')
arch=('any')
replaces=($_pkgname)
conflicts=($_pkgname)
provides=($_pkgname)
optdepends=('zenity: GUI for GNOME desktop'
            'kdebase-kdialog: GUI for KDE desktop')
source=("https://github.com/g4jc/${pkgname}/archive/${pkgver}.tar.gz")
md5sums=('aec9a4c60f793b25bd9df79e3c336994')

package() {
  depends=('wine' 'cabextract' 'unzip' 'xorg-xmessage')

  install -Dm755 "${srcdir}/${pkgname}-${pkgver}/${pkgname}" "${pkgdir}/usr/bin/${pkgname}"
  ln -sv ${pkgname} "${pkgdir}/usr/bin/${_pkgname}"
}