blob: 5dd36aa654f03d057d7bba813c6ba26cfd02db59 (
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
|
# Contributor: Leonardo Arena <rnalrd@alpinelinux.org>
# Maintainer:
pkgname=winetricks
pkgver=20191224
pkgrel=0
pkgdesc="Winetricks is an easy way to work around problems in Wine"
url="https://winetricks.org"
arch="x86 x86_64" # Limited by the wine pkg
license="LGPL-2.1-or-later"
options="!check" # Missing depends bashate & shellcheck
depends="cabextract unzip wine xmessage"
subpackages="$pkgname-doc $pkgname-bash-completion:bashcomp:noarch"
source="$pkgname-$pkgver.tar.gz::https://github.com/Winetricks/winetricks/archive/$pkgver.tar.gz"
package() {
make DESTDIR="$pkgdir" install
}
bashcomp() {
pkgdesc="Bash completions for $pkgname"
install_if="$pkgname=$pkgver-r$pkgrel bash-completion"
mkdir -p "$subpkgdir"/usr/share
mv "$pkgdir"/usr/share/bash-completion "$subpkgdir"/usr/share
}
sha512sums="31c0866e78d866e569da6c1123af7823a07b6358a79fcba84296938d89a39447ec9f504ca524471abc74ec2e3b24024bbc8a579413b4fe0ee74b1d5612f5d41a winetricks-20191224.tar.gz"
|