summaryrefslogtreecommitdiff
path: root/pcr/nitroshare
diff options
context:
space:
mode:
authorcoadde [Márcio Alexandre Silva Delgado] <coadde@parabola.nu>2014-08-27 05:07:26 -0300
committercoadde [Márcio Alexandre Silva Delgado] <coadde@parabola.nu>2014-08-27 05:07:26 -0300
commit0ff008e3c9dcc5ef088f481dfff3dcd121575598 (patch)
treed6f6cf5d6939e1f030a48d3711d3606570afd08f /pcr/nitroshare
parented9d1c12bbfcf9cb8b3d53e886edb679df372640 (diff)
downloadabslibre-0ff008e3c9dcc5ef088f481dfff3dcd121575598.tar.gz
abslibre-0ff008e3c9dcc5ef088f481dfff3dcd121575598.tar.bz2
abslibre-0ff008e3c9dcc5ef088f481dfff3dcd121575598.zip
move some packages from [social] to [pcr] and remove unused [social]
Diffstat (limited to 'pcr/nitroshare')
-rw-r--r--pcr/nitroshare/PKGBUILD33
-rw-r--r--pcr/nitroshare/nitroshare.install4
2 files changed, 37 insertions, 0 deletions
diff --git a/pcr/nitroshare/PKGBUILD b/pcr/nitroshare/PKGBUILD
new file mode 100644
index 000000000..7f4dfbaa0
--- /dev/null
+++ b/pcr/nitroshare/PKGBUILD
@@ -0,0 +1,33 @@
+# Maintainer (Arch): Sid Karunaratne <sid at karunaratne dot net>
+# Contributor (Arch): 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' 'mips64el')
+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/pcr/nitroshare/nitroshare.install b/pcr/nitroshare/nitroshare.install
new file mode 100644
index 000000000..d6519a6e8
--- /dev/null
+++ b/pcr/nitroshare/nitroshare.install
@@ -0,0 +1,4 @@
+post_install() {
+ xdg-icon-resource forceupdate --theme hicolor
+ update-desktop-database -q
+}