diff options
author | André Fabian Silva Delgado <andre@localhost.localdomain> | 2012-09-24 13:02:19 -0300 |
---|---|---|
committer | André Fabian Silva Delgado <andre@localhost.localdomain> | 2012-09-24 13:02:19 -0300 |
commit | 92f96e03374d0a3b3fc337216a93d0e05c5fe28e (patch) | |
tree | 2da58c0ae459698f5a6fe499157e9487fbe8c1d4 /social/nitroshare | |
parent | ad858cca5d678864d08c21d0078de72c3875348e (diff) | |
parent | 78fe3445e73a42dc03f985329b38ca0fa361e706 (diff) | |
download | abslibre-92f96e03374d0a3b3fc337216a93d0e05c5fe28e.tar.gz abslibre-92f96e03374d0a3b3fc337216a93d0e05c5fe28e.tar.bz2 abslibre-92f96e03374d0a3b3fc337216a93d0e05c5fe28e.zip |
Merge branch 'master' of ssh://parabolagnulinux.org:1863/srv/git/abslibre
Diffstat (limited to 'social/nitroshare')
-rw-r--r-- | social/nitroshare/PKGBUILD | 33 | ||||
-rw-r--r-- | social/nitroshare/nitroshare.install | 4 |
2 files changed, 37 insertions, 0 deletions
diff --git a/social/nitroshare/PKGBUILD b/social/nitroshare/PKGBUILD new file mode 100644 index 000000000..7896a356e --- /dev/null +++ b/social/nitroshare/PKGBUILD @@ -0,0 +1,33 @@ +# Maintainer: Sid Karunaratne <sid at karunaratne dot net> +# Contributor: Nathan Osman <https://launchpad.net/~george-edison55> + +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') + +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 +} + +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" +} diff --git a/social/nitroshare/nitroshare.install b/social/nitroshare/nitroshare.install new file mode 100644 index 000000000..d6519a6e8 --- /dev/null +++ b/social/nitroshare/nitroshare.install @@ -0,0 +1,4 @@ +post_install() { + xdg-icon-resource forceupdate --theme hicolor + update-desktop-database -q +} |