summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 5bf02a0fb5b9c5f1378225d659f6a349d5ea465c (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
# Maintainer: robertfoster
# Contributor: Eschwartz <eschwartz93@gmail.com>

pkgname=winetricks-git
pkgver=20230212.r16.ga1d5f915
pkgrel=1
pkgdesc='Script to install various redistributable runtime libraries in Wine.'
url='http://wiki.winehq.org/winetricks'
license=('LGPL')
arch=('any')
depends=('wine' 'cabextract' 'unzip' 'xorg-xmessage')
makedepends=('git')
optdepends=('zenity: For the GTK3 GUI.'
  'kdialog: For the KDE GUI (less capable).'
)
conflicts=('winetricks' 'bin32-winetricks')
provides=('winetricks')
source=("$pkgname::git+https://github.com/Winetricks/winetricks.git")

pkgver() {
  cd "$pkgname"
  git describe --long --tags | sed -r 's/-([0-9]+)-/.r\1./' | sed -r 's/-test//'
}

package() {
  cd "$pkgname"
  make DESTDIR="$pkgdir" install
}

sha256sums=('SKIP')