Skip to content

Instantly share code, notes, and snippets.

@zman0900
Created December 5, 2017 00:56
Show Gist options
  • Save zman0900/1293eb319615b6c6c3ed3b52f06054b7 to your computer and use it in GitHub Desktop.
Save zman0900/1293eb319615b6c6c3ed3b52f06054b7 to your computer and use it in GitHub Desktop.
diff --git a/PKGBUILD b/PKGBUILD
index 79af1e5..a974c4c 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -3,32 +3,32 @@
pkgname=transmission-remote-gui-gtk2
_pkgname=transgui
-pkgver=5.11.0
+pkgver=5.12.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=(gtk2 desktop-file-utils)
-makedepends=(lazarus unzip)
+makedepends=(lazarus)
provides=(transmission-remote-gui)
conflicts=(transmission-remote-gui-qt4 transmission-remote-gui-svn transmission-remote-gui)
-source=(https://github.com/leonsoft-kras/transmisson-remote-gui/archive/v${pkgver}.zip
+source=(https://github.com/transmission-remote-gui/transgui/archive/v${pkgver}.tar.gz
${_pkgname}.desktop)
-md5sums=('32a23925642f7e7eea5f38aae54de0a2'
+md5sums=('a36af507dd1d3d79647cc34882cccae6'
'c0504cb6d4e970892ac7be9206c787b5')
_ws=gtk2
build() {
mkdir "${srcdir}/config"
- cd "${srcdir}/transmisson-remote-gui-${pkgver}"
+ cd "${srcdir}/${_pkgname}-${pkgver}"
lazbuild "${_pkgname}.lpi" --lazarusdir=/usr/lib/lazarus --widgetset=${_ws} \
--primary-config-path="${srcdir}/config"
}
package() {
- cd "${srcdir}/transmisson-remote-gui-${pkgver}"
+ cd "${srcdir}/${_pkgname}-${pkgver}"
install -D -m 755 "units/${_pkgname}" "${pkgdir}/usr/bin/${_pkgname}"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment