diff options
author | Timo Teräs <timo.teras@iki.fi> | 2012-01-30 10:10:58 +0200 |
---|---|---|
committer | Timo Teräs <timo.teras@iki.fi> | 2012-01-30 10:10:58 +0200 |
commit | 0a763d00957425bf7bdf0ae21282cd842f6f8c06 (patch) | |
tree | 4c2780c9e7c65ce9cfe64bef8e6381bb07de7805 | |
parent | 5eab9ceb3d56e30af38134d4bd52af744b94b6bf (diff) | |
download | aports-0a763d00957425bf7bdf0ae21282cd842f6f8c06.tar.bz2 aports-0a763d00957425bf7bdf0ae21282cd842f6f8c06.tar.xz |
testing/winetricks: new aport
manage virtual windows environments using wine
http://winetricks.org
-rw-r--r-- | testing/winetricks/APKBUILD | 40 |
1 files changed, 40 insertions, 0 deletions
diff --git a/testing/winetricks/APKBUILD b/testing/winetricks/APKBUILD new file mode 100644 index 0000000000..702c204900 --- /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" |