From 0a763d00957425bf7bdf0ae21282cd842f6f8c06 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Timo=20Ter=C3=A4s?= Date: Mon, 30 Jan 2012 10:10:58 +0200 Subject: testing/winetricks: new aport manage virtual windows environments using wine http://winetricks.org --- testing/winetricks/APKBUILD | 40 ++++++++++++++++++++++++++++++++++++++++ 1 file changed, 40 insertions(+) create mode 100644 testing/winetricks/APKBUILD (limited to 'testing') diff --git a/testing/winetricks/APKBUILD b/testing/winetricks/APKBUILD new file mode 100644 index 000000000..702c20490 --- /dev/null +++ b/testing/winetricks/APKBUILD @@ -0,0 +1,40 @@ +# Contributor: +# Maintainer: +pkgname=winetricks +pkgver=20111115 +pkgrel=0 +pkgdesc="manage virtual windows environments using wine" +url="http://winetricks.org" +arch="noarch" +license="LGPL" +depends="grep cabextract zenity p7zip" +makedepends="" +install="" +subpackages="" +source="http://winetricks.org/download/releases/winetricks-$pkgver.tgz" + +_builddir="$srcdir"/$pkgname-$pkgver +unpack() { + # manually unpack, as the tgz does not any paths at all + mkdir -p "$_builddir" + cd "$_builddir" + tar xzvf ../winetricks-$pkgver.tgz +} + +prepare() { + local i + cd "$_builddir" + for i in $source; do + case $i in + *.patch) msg $i; patch -p1 -i "$srcdir"/$i || return 1;; + esac + done +} + +package() { + cd "$_builddir" + mkdir -p "$pkgdir"/usr/bin + install -Dm755 winetricks "$pkgdir"/usr/bin +} + +md5sums="79141446df0f98115108e96820bb9c3e winetricks-20111115.tgz" -- cgit v1.2.3