blob: 702c20490027d7474ddbe13ade731275ec47e82b (
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
28
29
30
31
32
33
34
35
36
37
38
39
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"
|