summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorIvan Semkin2018-12-09 18:02:30 +0300
committerIvan Semkin2018-12-09 18:02:30 +0300
commitd325f0f1a309a712ab54b29355e09538fab07a32 (patch)
tree7845a7cc63276f6d44e4d4b81ef4307436ac42c8
downloadaur-d325f0f1a309a712ab54b29355e09538fab07a32.tar.gz
Initial commit
-rw-r--r--.SRCINFO13
-rw-r--r--.gitignore4
-rw-r--r--PKGBUILD31
3 files changed, 48 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO
new file mode 100644
index 00000000000..677d250f37b
--- /dev/null
+++ b/.SRCINFO
@@ -0,0 +1,13 @@
+pkgbase = grapebite-git
+ pkgdesc = Scripts for managing Windows games under Arch
+ pkgver = r2.dfd0e53
+ pkgrel = 1
+ url = https://github.com/vanyasem/grapebite
+ arch = any
+ depends = wine
+ depends = winetricks
+ source = git://github.com/vanyasem/grapebite
+ sha256sums = SKIP
+
+pkgname = grapebite-git
+
diff --git a/.gitignore b/.gitignore
new file mode 100644
index 00000000000..3d91ef134cd
--- /dev/null
+++ b/.gitignore
@@ -0,0 +1,4 @@
+grapebite/
+*.tar.xz
+pkg/
+
diff --git a/PKGBUILD b/PKGBUILD
new file mode 100644
index 00000000000..d60b995358e
--- /dev/null
+++ b/PKGBUILD
@@ -0,0 +1,31 @@
+# Maintainer: Ivan Semkin (ivan at semkin dot ru)
+
+_pkgname='grapebite'
+pkgname='grapebite-git'
+pkgver=r2.dfd0e53
+pkgrel=1
+pkgdesc='Scripts for managing Windows games under Arch'
+url='https://github.com/vanyasem/grapebite'
+arch=('any')
+makedepents=(git)
+depends=(wine winetricks)
+source=('git://github.com/vanyasem/grapebite')
+sha256sums=('SKIP')
+
+pkgver() {
+ cd "${srcdir}/${_pkgname}"
+ echo "r$(git rev-list --count HEAD).$(git describe --always)"
+}
+
+package() {
+ install -d "${pkgdir}/opt/${_pkgname}"
+ install -d "${pkgdir}/usr/bin"
+ cp -ra "${_pkgname}" "${pkgdir}/opt/"
+ ln -s "/opt/${_pkgname}/${_pkgname}.sh" "${pkgdir}/usr/bin/${_pkgname}"
+ ln -s "/opt/${_pkgname}/BattleNet.sh" "${pkgdir}/usr/bin/BattleNet"
+ ln -s "/opt/${_pkgname}/GTAV.sh" "${pkgdir}/usr/bin/GTAV"
+ ln -s "/opt/${_pkgname}/Origin.sh" "${pkgdir}/usr/bin/Origin"
+ ln -s "/opt/${_pkgname}/SAMP.sh" "${pkgdir}/usr/bin/SAMP"
+ ln -s "/opt/${_pkgname}/Steam.sh" "${pkgdir}/usr/bin/Steam"
+ ln -s "/opt/${_pkgname}/WOT.sh" "${pkgdir}/usr/bin/WOT"
+}