summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorXavion2015-06-09 09:46:29 +1000
committerXavion2015-06-09 09:46:29 +1000
commit6b52dd4694f170810b95af1c83321a033c505d28 (patch)
tree167b92cda518b77e6dffc2efaf62b6953cc31086
downloadaur-6b52dd4694f170810b95af1c83321a033c505d28.tar.gz
Initial AUR v4 importation
-rw-r--r--.SRCINFO20
-rw-r--r--PKGBUILD37
-rw-r--r--Quamachi.install51
3 files changed, 108 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO
new file mode 100644
index 00000000000..337200457aa
--- /dev/null
+++ b/.SRCINFO
@@ -0,0 +1,20 @@
+pkgbase = quamachi
+ pkgdesc = A Hamachi GUI for Linux
+ pkgver = 0.7.0
+ pkgrel = 2
+ url = http://Quamachi.Xavion.name
+ install = Quamachi.install
+ arch = any
+ license = LGPL3
+ depends = pyqt
+ depends = logmein-hamachi>=2
+ optdepends = mtr: A ping GUI
+ optdepends = putty: An SSH GUI
+ optdepends = gksu: A SU(do) GUI
+ optdepends = terminal: A shell GUI
+ optdepends = vinagre: A VNC client GUI
+ source = http://prdownloads.sourceforge.net/quamachi/Quamachi-0.7.0.tar.bz2
+ sha1sums = 74aec7977f2fdccb60235bb37f6cdf0797c39886
+
+pkgname = quamachi
+
diff --git a/PKGBUILD b/PKGBUILD
new file mode 100644
index 00000000000..aa1518278af
--- /dev/null
+++ b/PKGBUILD
@@ -0,0 +1,37 @@
+# Maintainer: Xavion <Xavion (dot) 0 (at) Gmail (dot) com>
+
+pkgname=quamachi
+_filename_=Quamachi
+pkgver=0.7.0
+pkgrel=2
+pkgdesc="A Hamachi GUI for Linux"
+arch=("any")
+url="http://${_filename_}.Xavion.name"
+license=("LGPL3")
+depends=("pyqt" "logmein-hamachi>=2")
+optdepends=("mtr: A ping GUI"
+ "putty: An SSH GUI"
+ "gksu: A SU(do) GUI"
+ "terminal: A shell GUI"
+ "vinagre: A VNC client GUI")
+install="${_filename_}.install"
+source=(http://prdownloads.sourceforge.net/${pkgname}/${_filename_}-${pkgver}.tar.bz2)
+
+build() {
+ cd "${srcdir}"/${_filename_}/Build
+
+ #make uninstall
+ #make clean
+ make
+}
+
+package() {
+ cd "${srcdir}"/${_filename_}/Build
+
+ make DESTDIR="${pkgdir}" Sys-SBin="/usr/bin" install
+
+ # Messages
+ msg "Seek further information or send feedback via the 'Help' menu."
+}
+
+sha1sums=('74aec7977f2fdccb60235bb37f6cdf0797c39886')
diff --git a/Quamachi.install b/Quamachi.install
new file mode 100644
index 00000000000..85533f4bf68
--- /dev/null
+++ b/Quamachi.install
@@ -0,0 +1,51 @@
+# Quamachi: Installer: Arch
+# Contributor: Xavion <Xavion (dot) 0 (at) Gmail (dot) com>
+
+post_install() {
+ # Change file permissions
+ chmod 777 /usr/share/Quamachi/Source/
+
+ # Add symlink to sys-bin dir
+ ln -s /usr/bin/Quamachi.sh /usr/sbin/
+
+ # Remove old files
+ user_remove
+
+ #/bin/true
+}
+
+post_upgrade() {
+ post_install
+ #/bin/true
+}
+
+pre_remove() {
+ /bin/true
+}
+
+user_remove() {
+ # User
+ if [ ${USER} ]; then
+ export USER=${LOGNAME}
+ fi
+
+ # Home
+ if [ ${SUDO_USER} ]; then
+ export HOME=/home/${SUDO_USER}
+ else
+ export HOME=/home/${USER}
+ fi
+}
+
+post_remove() {
+ rm -rf /usr/share/Quamachi/
+
+ user_remove
+
+ #/bin/true
+}
+
+op=$1
+shift
+
+$op "$@"