summarylogtreecommitdiffstats
path: root/PKGBUILD
diff options
context:
space:
mode:
authorBruce Zhang2017-06-22 13:01:40 +0800
committerBruce Zhang2017-06-22 13:01:40 +0800
commitbcc28076021bdb6dfcf4ee661d9a7f55cd4f6160 (patch)
tree5a6ec30b4f4e190c1e3eac6bf3917545cf4835f8 /PKGBUILD
downloadaur-bcc28076021bdb6dfcf4ee661d9a7f55cd4f6160.tar.gz
first release
Diffstat (limited to 'PKGBUILD')
-rw-r--r--PKGBUILD31
1 files changed, 31 insertions, 0 deletions
diff --git a/PKGBUILD b/PKGBUILD
new file mode 100644
index 00000000000..031d525b485
--- /dev/null
+++ b/PKGBUILD
@@ -0,0 +1,31 @@
+# Maintainer: Bruce Zhang <zttt183525594@gmail.com>
+pkgname=winetricks-zh-git
+pkgver=r125.3012b9a
+pkgrel=1
+pkgdesc="Wine Setup Wizard Winetricks Chinese Version"
+arch=('any')
+url="https://github.com/hillwoodroc/winetricks-zh"
+license=('LGPL')
+depends=('wine' 'curl' 'cabextract' 'unrar' 'unzip' 'p7zip')
+makedepends=('git')
+optdepends=('zenity: For the GTK3 GUI.'
+ 'kdebase-kdialog: For the KDE GUI (less capable).'
+ 'sudo: For automatically mounting ISO images.'
+ 'xdg-utils: For opening manual download pages.'
+ 'perl: For installing Steam.')
+install=winetricks-zh.install
+source=("$pkgname::git+https://github.com/hillwoodroc/winetricks-zh.git")
+md5sums=('SKIP')
+
+# Please refer to the 'USING VCS SOURCES' section of the PKGBUILD man page for
+# a description of each element in the source array.
+
+pkgver() {
+ cd "$pkgname"
+ printf "r%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)"
+}
+
+package() {
+ cd "$pkgname"
+ find ./ -type f -exec install -Dm755 {} "${pkgdir}/opt/winetricks-zh/{}" \;
+}