mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2026-01-20 16:12:22 +01:00
28 lines
973 B
Plaintext
28 lines
973 B
Plaintext
# Contributor: Leonardo Arena <rnalrd@alpinelinux.org>
|
|
# Maintainer:
|
|
pkgname=winetricks
|
|
pkgver=20190310
|
|
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="4f08228306a84cd2e1ecf0df46e951dfc5844716fadab903eca7ed09f15ed2bbba7ca5bf48384f934783be6a85b812129427a296a580561ee5b8483df0e64025 winetricks-20190310.tar.gz"
|