diff options
author | Nicolás Reynolds <apoyosis@correo.inta.gob.ar> | 2012-09-23 20:40:52 -0300 |
---|---|---|
committer | Nicolás Reynolds <apoyosis@correo.inta.gob.ar> | 2012-09-23 20:40:52 -0300 |
commit | abdb69854da19bb519c3f6da5f0456cd7e45f7cf (patch) | |
tree | 1a7c8273e954e2270e444523b9aad64db86439be /social/nitroshare/PKGBUILD | |
parent | 5a3cd0a0fd7e2af356d44aa25f144fe9616b8239 (diff) | |
download | abslibre-abdb69854da19bb519c3f6da5f0456cd7e45f7cf.tar.gz abslibre-abdb69854da19bb519c3f6da5f0456cd7e45f7cf.tar.bz2 abslibre-abdb69854da19bb519c3f6da5f0456cd7e45f7cf.zip |
NitroShare
Diffstat (limited to 'social/nitroshare/PKGBUILD')
-rw-r--r-- | social/nitroshare/PKGBUILD | 33 |
1 files changed, 33 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" +} |