summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorAliaksandr Stelmachonak a.k.a. ava1ar2018-03-15 06:47:49 -0400
committerAliaksandr Stelmachonak a.k.a. ava1ar2018-03-15 06:47:49 -0400
commite6a8c3bd0eecfa65af12d7e560929e7ec1c9a1c4 (patch)
treee1c21fd9aca884768aebe52db31598041a571fd7
downloadaur-e6a8c3bd0eecfa65af12d7e560929e7ec1c9a1c4.tar.gz
Initial commit. Version 5.14
-rw-r--r--.SRCINFO20
-rw-r--r--PKGBUILD39
-rw-r--r--transgui.desktop12
3 files changed, 71 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO
new file mode 100644
index 00000000000..9beadb8eddd
--- /dev/null
+++ b/.SRCINFO
@@ -0,0 +1,20 @@
+# Generated by mksrcinfo v8
+# Thu Mar 15 10:47:07 UTC 2018
+pkgbase = transmission-remote-gui
+ pkgdesc = Cross platform remote GUI for the Transmission daemon
+ pkgver = 5.14.0
+ pkgrel = 1
+ url = https://github.com/leonsoft-kras/transmisson-remote-gui
+ arch = i686
+ arch = x86_64
+ license = GPL2
+ makedepends = lazarus
+ depends = qt4pas
+ conflicts = transmission-remote-gui-bin
+ source = https://github.com/leonsoft-kras/transmisson-remote-gui/archive/v5.14.0.zip
+ source = transgui.desktop
+ sha1sums = d60021e4ab41e639d9d40baa7bd2b07dde8fd2b8
+ sha1sums = d1678311a60ab60235d9029c0d19c777e2fa6ebf
+
+pkgname = transmission-remote-gui
+
diff --git a/PKGBUILD b/PKGBUILD
new file mode 100644
index 00000000000..bc064240106
--- /dev/null
+++ b/PKGBUILD
@@ -0,0 +1,39 @@
+pkgname=transmission-remote-gui
+_pkgname=transgui
+pkgver=5.14.0
+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=('qt4pas')
+makedepends=('lazarus')
+conflicts=('transmission-remote-gui-bin')
+source=(https://github.com/leonsoft-kras/transmisson-remote-gui/archive/v${pkgver}.zip
+ ${_pkgname}.desktop)
+sha1sums=('d60021e4ab41e639d9d40baa7bd2b07dde8fd2b8'
+ 'd1678311a60ab60235d9029c0d19c777e2fa6ebf')
+
+build() {
+ mkdir -p "${srcdir}/config"
+ cd "${srcdir}/${_pkgname}-${pkgver}"
+
+ lazbuild "${_pkgname}.lpi" --lazarusdir=/usr/lib/lazarus --widgetset=qt \
+ --primary-config-path="${srcdir}/config"
+}
+
+package() {
+ cd "${srcdir}/${_pkgname}-${pkgver}"
+
+ 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.md history.txt LICENSE "${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.desktop b/transgui.desktop
new file mode 100644
index 00000000000..5b24a4ba116
--- /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
+Exec=/usr/bin/transgui %U
+Icon=/usr/share/pixmaps/transgui.png
+Terminal=false
+Type=Application
+Categories=Network;FileTransfer;P2P;GTK;
+MimeType=application/x-bittorrent;x-scheme-handler/magnet
+