You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

47 lines
1.7 KiB

10 years ago
# Maintainer : Dobroslaw Kijowski [dobo] <dobo90_at_gmail.com>
# Contributor: Paul N. Maxwell <msg.maxwel@gmail.com>
pkgname=transmission-remote-gui-qt4
_pkgname=transgui
8 years ago
pkgver=5.8.1
pkgrel=1
10 years ago
pkgdesc='Cross platform remote GUI for the Transmission daemon'
arch=(i686 x86_64)
url='https://github.com/leonsoft-kras/transmisson-remote-gui'
10 years ago
license=(GPL2)
depends=(qt4pas)
makedepends=(lazarus unzip)
provides=(transmission-remote-gui)
conflicts=(transmission-remote-gui-gtk2 transmission-remote-gui-svn transmission-remote-gui)
install=transmission-remote-gui.install
8 years ago
source=("transmission-remote-gui-${pkgver}.tar.gz::https://github.com/leonsoft-kras/transmisson-remote-gui/archive/v${pkgver}.tar.gz"
8 years ago
"${_pkgname}.desktop")
md5sums=('c9c2964329afc8335bc6b5f2733e8efb'
'c0504cb6d4e970892ac7be9206c787b5')
10 years ago
_ws=qt
build() {
mkdir "${srcdir}/config"
cd "${srcdir}/transmisson-remote-gui-${pkgver}"
lazbuild "${_pkgname}.lpi" --lazarusdir=/usr/lib/lazarus --widgetset=${_ws} \
--primary-config-path="${srcdir}/config"
10 years ago
}
package() {
cd "${srcdir}/transmisson-remote-gui-${pkgver}"
10 years ago
install -D -m 755 "units/${_pkgname}" "${pkgdir}/usr/bin/${_pkgname}"
10 years ago
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"
10 years ago
install -d -m 755 "${pkgdir}/usr/share/doc/${pkgname}"
8 years ago
install -D -m 644 README.md history.txt LICENSE.txt "${pkgdir}/usr/share/doc/${pkgname}"
10 years ago
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"
10 years ago
}
8 years ago