summaryrefslogtreecommitdiff
path: root/libre/winetricks-libre/PKGBUILD
blob: 534703c63932fbfebd6181f866e0763808f74056 (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: Luke R. <g4jc@openmailbox.org> GPG: rsa4096/3EAE8697
# 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>
# Contibutor: André Silva <emulatorman@hyperbola.info>

_pkgname=winetricks
pkgname=winetricks-libre
pkgver=1.1
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'
            'kdialog: GUI for KDE desktop')
source=("https://github.com/g4jc/${pkgname}/archive/${pkgver}.tar.gz")
sha512sums=('536db622cb853916f043323c7c7fb9bf7e56e942994260349fbd7c8b1e0122f9f851728302e2eab3fa60d5e909612cf3771895ca0d19062e9d8090ee9f6cdb6b')

package() {
  depends=('wine' 'cabextract' 'unzip' 'xorg-xmessage')
  
  install -Dm755 "${srcdir}/${pkgname}-${pkgver}/${pkgname}" "${pkgdir}/usr/bin/${pkgname}"
  ln -sv ${pkgname} "${pkgdir}/usr/bin/${_pkgname}"
}