diff options
author | Andreas Grapentin <andreas@grapentin.org> | 2018-01-22 09:40:23 +0100 |
---|---|---|
committer | Andreas Grapentin <andreas@grapentin.org> | 2018-01-22 09:40:23 +0100 |
commit | 10bccc373f220ade191ba88676605a1d08c56850 (patch) | |
tree | 2f616864e9be15809e28bb3bcd4928f9e87f3efa /pcr/nitroshare/PKGBUILD | |
parent | 8af7081ec26e85bda027c3ccf671d3252f562d0f (diff) | |
download | abslibre-10bccc373f220ade191ba88676605a1d08c56850.tar.gz abslibre-10bccc373f220ade191ba88676605a1d08c56850.tar.bz2 abslibre-10bccc373f220ade191ba88676605a1d08c56850.zip |
pcr/nitroshare: updated to 0.3.4
Diffstat (limited to 'pcr/nitroshare/PKGBUILD')
-rw-r--r-- | pcr/nitroshare/PKGBUILD | 64 |
1 files changed, 36 insertions, 28 deletions
diff --git a/pcr/nitroshare/PKGBUILD b/pcr/nitroshare/PKGBUILD index 19fca2a6c..f0dc552a4 100644 --- a/pcr/nitroshare/PKGBUILD +++ b/pcr/nitroshare/PKGBUILD @@ -1,33 +1,41 @@ -# Maintainer (Arch): Sid Karunaratne <sid at karunaratne dot net> -# Contributor (Arch): Nathan Osman <https://launchpad.net/~george-edison55> +# Maintainer (AUR): Sid Karunaratne <sid at karunaratne dot net> +# Contributor (AUR): Nathan Osman <nathan at quickmediasolutions dot com> +# Contributor (AUR): BlackEagle <ike.devolder@gmail.com> -pkgname=nitroshare -pkgver=0.2 -pkgrel=2 -pkgdesc="Makes sending a file to another machine on the local network as easy as dragging-and-dropping" -arch=('i686' 'x86_64') -url="https://launchpad.net/nitroshare" -license=('GPL3') -depends=('qt' 'qjson' 'qxmlrpc') -makedepends=() -options=() -source=(https://launchpad.net/${pkgname}/${pkgver}/${pkgver}/+download/${pkgname}_${pkgver}.tar.gz nitroshare.install) -md5sums=('00f670fadf385ee2a920b67a4120295d' - '0e8cd7761d04a45d22d28ac7b98fa234') +# parabola changes and rationale: +# no changes. -build () { - cd "${srcdir}/${pkgname}" - sed -i "s_target.path = /opt/extras.ubuntu.com/nitroshare_target.path = ${pkgdir}/usr/bin_g" nitroshare.pro - sed -i "s_Exec=/opt/extras.ubuntu.com/nitroshare/nitroshare_Exec=/usr/bin/${pkgname}_g" resource/other/extras-${pkgname}.desktop - qmake - make +pkgname='nitroshare' +pkgver='0.3.4' +pkgrel=1 +pkgdesc='Network File Transfer Application' +url='https://nitroshare.net' +arch=('i686' 'x86_64' 'armv7h') +license=('MIT') +makedepends=('cmake') +depends=('qt5-base' 'qt5-tools' 'qt5-svg') +optdepends=( + 'libappindicator-gtk2: export a menu into the Unity Menu bar' + 'qhttpengine: allow local applications access' + 'qmdnsengine: enable mDNS discovery' +) +source=( + "$pkgname-$pkgver.tar.gz::https://github.com/nitroshare/nitroshare-desktop/archive/$pkgver.tar.gz" +) +sha256sums=('29874e5909c29211a3c9e13f8c0f49b901ec2996e5d60d80af80d2fb80c3d7ec') + +build() { + cd "$pkgname-desktop-$pkgver" + cmake -DCMAKE_INSTALL_PREFIX:PATH=/usr . + make } -package (){ - cd "${srcdir}/${pkgname}" - make install - mkdir -p ${pkgdir}/usr/share/applications - install -Dm644 resource/other/extras-${pkgname}.desktop ${pkgdir}/usr/share/applications/ - install -Dm644 resource/images/logo.png ${pkgdir}/usr/share/pixmaps/${pkgname}.png - install -Dm644 LICENSE "$pkgdir/usr/share/licenses/$pkgname/LICENSE" +package() { + cd "$pkgname-desktop-$pkgver" + make DESTDIR="$pkgdir" install + + # license + install -Dm644 \ + "LICENSE.txt" \ + "$pkgdir/usr/share/licenses/$pkgname/LICENSE.txt" } |