summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorMatt Parnell2017-01-14 18:19:15 -0600
committerMatt Parnell2017-01-14 18:19:15 -0600
commitc5d3ca488418235d0fa67a72ded8f4cc2974f949 (patch)
treefa5dc14d6ef4c1ae7ca103636d8519d68500daf8
downloadaur-c5d3ca488418235d0fa67a72ded8f4cc2974f949.tar.gz
initial commit
-rw-r--r--.SRCINFO28
-rw-r--r--.gitignore4
-rw-r--r--PKGBUILD51
-rw-r--r--transgui-gtk2-git.install11
-rw-r--r--transgui.desktop12
5 files changed, 106 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO
new file mode 100644
index 00000000000..a26561db811
--- /dev/null
+++ b/.SRCINFO
@@ -0,0 +1,28 @@
+# Generated by mksrcinfo v8
+# Sun Jan 15 00:19:14 UTC 2017
+pkgbase = transgui-gtk2-git
+ pkgdesc = Cross platform remote GUI for the Transmission daemon
+ pkgver = 35069a6
+ pkgrel = 1
+ url = https://github.com/leonsoft-kras/transmisson-remote-gui
+ install = transgui-gtk2-git.install
+ arch = i686
+ arch = x86_64
+ license = GPL2
+ makedepends = lazarus
+ makedepends = unzip
+ depends = gtk2
+ depends = desktop-file-utils
+ provides = transmission-remote-gui
+ provides = transmission-remote-gui-gtk2
+ conflicts = transmission-remote-gui-qt4
+ conflicts = transmission-remote-gui-svn
+ conflicts = transmission-remote-gui
+ conflicts = transmission-remote-gui-gtk2
+ source = git://github.com/leonsoft-kras/transmisson-remote-gui.git
+ source = transgui.desktop
+ md5sums = SKIP
+ md5sums = c0504cb6d4e970892ac7be9206c787b5
+
+pkgname = transgui-gtk2-git
+
diff --git a/.gitignore b/.gitignore
new file mode 100644
index 00000000000..c763b624128
--- /dev/null
+++ b/.gitignore
@@ -0,0 +1,4 @@
+pkg/*
+src/*
+*.pkg.tar.xz
+transmisson-remote-gui/*
diff --git a/PKGBUILD b/PKGBUILD
new file mode 100644
index 00000000000..ede27d28ecd
--- /dev/null
+++ b/PKGBUILD
@@ -0,0 +1,51 @@
+# Maintainer : Matt Parnell/ilikenwf <parwok@gmail.com>
+# Contributor : Dobroslaw Kijowski [dobo] <dobo90_at_gmail.com>
+# Contributor: Paul N. Maxwell <msg.maxwel@gmail.com>
+
+pkgname=transgui-gtk2-git
+_pkgname=transgui
+pkgver=35069a6
+pkgrel=1
+pkgdesc='Cross platform remote GUI for the Transmission daemon'
+arch=(i686 x86_64)
+url='https://github.com/leonsoft-kras/transmisson-remote-gui'
+license=(GPL2)
+depends=(gtk2 desktop-file-utils)
+makedepends=(lazarus unzip)
+provides=(transmission-remote-gui transmission-remote-gui-gtk2)
+conflicts=(transmission-remote-gui-qt4 transmission-remote-gui-svn transmission-remote-gui transmission-remote-gui-gtk2)
+install=transgui-gtk2-git.install
+source=('git://github.com/leonsoft-kras/transmisson-remote-gui.git'
+ ${_pkgname}.desktop)
+md5sums=('SKIP'
+ 'c0504cb6d4e970892ac7be9206c787b5')
+_ws=gtk2
+
+pkgver() {
+ cd "${srcdir}/transmisson-remote-gui"
+ git describe --always | sed 's|-|.|g'
+}
+
+build() {
+ mkdir "${srcdir}/config"
+ cd "${srcdir}/transmisson-remote-gui"
+
+ lazbuild "${_pkgname}.lpi" --lazarusdir=/usr/lib/lazarus --widgetset=${_ws} \
+ --primary-config-path="${srcdir}/config"
+}
+
+package() {
+ cd "${srcdir}/transmisson-remote-gui"
+
+ install -D -m 755 "units/${_pkgname}" "${pkgdir}/usr/bin/${_pkgname}"
+
+ install -d -m 755 "${pkgdir}/usr/share/${_pkgname}/lang"
+ install -D -m 644 lang/transgui.* "${pkgdir}/usr/share/${_pkgname}/lang"
+ rm "${pkgdir}/usr/share/${_pkgname}/lang/transgui.template"
+
+ install -d -m 755 "${pkgdir}/usr/share/doc/${pkgname}"
+ install -D -m 644 readme.txt history.txt LICENSE.txt "${pkgdir}/usr/share/doc/${pkgname}"
+
+ install -D -m 644 "${_pkgname}.png" "${pkgdir}/usr/share/pixmaps/${_pkgname}.png"
+ install -D -m 644 "${srcdir}/${_pkgname}.desktop" "${pkgdir}/usr/share/applications/${_pkgname}.desktop"
+}
diff --git a/transgui-gtk2-git.install b/transgui-gtk2-git.install
new file mode 100644
index 00000000000..b8c7ebf27b7
--- /dev/null
+++ b/transgui-gtk2-git.install
@@ -0,0 +1,11 @@
+post_install() {
+ update-desktop-database -q
+}
+
+post_upgrade() {
+ post_install
+}
+
+post_remove() {
+ post_install
+}
diff --git a/transgui.desktop b/transgui.desktop
new file mode 100644
index 00000000000..67ce29879c7
--- /dev/null
+++ b/transgui.desktop
@@ -0,0 +1,12 @@
+[Desktop Entry]
+Encoding=UTF-8
+Name=Transmission Remote GUI
+GenericName=TransGUI
+Comment=Cross platform remote GUI for the Transmission daemon
+Comment[ru]=Кроссплатформенный удалённый интерфейс для Bit-Torrent клиента Transmission
+Exec=/usr/bin/transgui
+Icon=/usr/share/pixmaps/transgui.png
+Terminal=false
+Type=Application
+Categories=Network;FileTransfer;P2P;GTK;
+MimeType=application/x-bittorrent;application/x-torrent;x-scheme-handler/magnet;