* Add moonman's patch.

* Fix quoting of paths.
master
Dobroslaw Kijowski 9 years ago
parent 574a85b05a
commit 0fe22c4cd2
  1. 6
      .SRCINFO
  2. 36
      PKGBUILD

@ -1,9 +1,9 @@
# Generated by mksrcinfo v8
# Thu Mar 10 16:28:08 UTC 2016
# Tue Mar 15 20:05:57 UTC 2016
pkgbase = transmission-remote-gui-qt4
pkgdesc = Cross platform remote GUI for the Transmission daemon
pkgver = 5.2.0
pkgrel = 1
pkgrel = 2
url = https://github.com/leonsoft-kras/transmisson-remote-gui
install = transmission-remote-gui.install
arch = i686
@ -18,8 +18,10 @@ pkgbase = transmission-remote-gui-qt4
conflicts = transmission-remote-gui
source = https://github.com/leonsoft-kras/transmisson-remote-gui/archive/v5.2.0.zip
source = transgui.desktop
source = https://github.com/leonsoft-kras/transmisson-remote-gui/commit/afe7aa9d12e5a802b500ffe9991bd00a538af25f.patch
md5sums = c38ef3c65bbd2c0fe0828b8673707b2a
md5sums = c0504cb6d4e970892ac7be9206c787b5
md5sums = 32f04e7d96a8cf6bc6cdf8d41e039784
pkgname = transmission-remote-gui-qt4

@ -4,7 +4,7 @@
pkgname=transmission-remote-gui-qt4
_pkgname=transgui
pkgver=5.2.0
pkgrel=1
pkgrel=2
pkgdesc='Cross platform remote GUI for the Transmission daemon'
arch=(i686 x86_64)
url='https://github.com/leonsoft-kras/transmisson-remote-gui'
@ -15,31 +15,35 @@ provides=(transmission-remote-gui)
conflicts=(transmission-remote-gui-gtk2 transmission-remote-gui-svn transmission-remote-gui)
install=transmission-remote-gui.install
source=(https://github.com/leonsoft-kras/transmisson-remote-gui/archive/v${pkgver}.zip
${_pkgname}.desktop)
${_pkgname}.desktop
https://github.com/leonsoft-kras/transmisson-remote-gui/commit/afe7aa9d12e5a802b500ffe9991bd00a538af25f.patch)
md5sums=(c38ef3c65bbd2c0fe0828b8673707b2a
c0504cb6d4e970892ac7be9206c787b5)
c0504cb6d4e970892ac7be9206c787b5
32f04e7d96a8cf6bc6cdf8d41e039784)
_ws=qt
build() {
mkdir ${srcdir}/config
cd ${srcdir}/transmisson-remote-gui-${pkgver}
mkdir "${srcdir}/config"
cd "${srcdir}/transmisson-remote-gui-${pkgver}"
lazbuild ${_pkgname}.lpi --lazarusdir=/usr/lib/lazarus --widgetset=${_ws} \
--primary-config-path=${srcdir}/config
patch -p1 < ../afe7aa9d12e5a802b500ffe9991bd00a538af25f.patch
lazbuild "${_pkgname}.lpi" --lazarusdir=/usr/lib/lazarus --widgetset=${_ws} \
--primary-config-path="${srcdir}/config"
}
package() {
cd ${srcdir}/transmisson-remote-gui-${pkgver}
cd "${srcdir}/transmisson-remote-gui-${pkgver}"
install -D -m 755 units/${_pkgname} ${pkgdir}/usr/bin/${_pkgname}
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/${_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 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
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"
}

Loading…
Cancel
Save