# Contributor: Leonardo Arena <rnalrd@alpinelinux.org>
# Maintainer:
pkgname=winetricks
pkgver=20170101
pkgrel=0
pkgdesc="Winetricks is an easy way to work around problems in Wine"
url="http://winetricks.org"
arch="all"
license="GPL"
depends=
depends_dev=
makedepends="$depends_dev"
install=
subpackages="$pkgname-doc"
source="$pkgname-$pkgver.tar.gz::https://github.com/Winetricks/winetricks/archive/$pkgver.tar.gz"

builddir="$srcdir"/$pkgname-$pkgver

prepare() {
	cd "$builddir"
}

build() {
	cd "$builddir"
}

package() {
	cd "$builddir"
	make DESTDIR="$pkgdir" install || return 1
}

md5sums="0227e0ed0d9ff6b150676a060b1b6c8f  winetricks-20170101.tar.gz"
sha256sums="3862ce2d94132484cb7fced13ccef6a7d1e94d75b5ee96b269d1bc45309f7b49  winetricks-20170101.tar.gz"
sha512sums="537566e62e91814775bd81c817125f9bc924e40f9db874275453db03c244f9bcab9cc82e77f027a90338656e1193601fd638623bad853502d2ef9d07b306eb66  winetricks-20170101.tar.gz"
