summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorVojtech Kral2015-06-16 22:04:30 +0200
committerVojtech Kral2015-06-16 22:04:30 +0200
commitd4c75af346b17ceae6d03d86362374461f9f8a9d (patch)
tree5bcde612bdbb2da81c1b5b880bbaa9b06926d6ac
downloadaur-d4c75af346b17ceae6d03d86362374461f9f8a9d.tar.gz
Initial
-rw-r--r--.SRCINFO19
-rw-r--r--PKGBUILD36
-rw-r--r--freerapid.desktop11
-rwxr-xr-xfreerapid.sh3
4 files changed, 69 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO
new file mode 100644
index 00000000000..7a5e72c50e9
--- /dev/null
+++ b/.SRCINFO
@@ -0,0 +1,19 @@
+pkgbase = freerapid
+ pkgdesc = A Java-based download manager for Rapidshare and other file sharing archives
+ pkgver = 0.9u4
+ pkgrel = 1
+ url = http://wordrider.net/freerapid/
+ arch = any
+ license = GPL
+ depends = java-runtime
+ depends = gsettings-desktop-schemas
+ provides = frd
+ source = http://files.kral.hk/frd/FreeRapid-0.9u4.zip
+ source = freerapid.sh
+ source = freerapid.desktop
+ sha256sums = f26d570b63e9591e438a625f87eee80480b160f077a4d7aae433c8d3e0d20ab9
+ sha256sums = 43e453a212e179a7dd6892fff51b10464a798300f6d4105c8163949cba037dc0
+ sha256sums = 5bbca23e1d4225f86aecc84d50ebe100c32b42522cb684a55feecab1ca21e13c
+
+pkgname = freerapid
+
diff --git a/PKGBUILD b/PKGBUILD
new file mode 100644
index 00000000000..94de7bf5d18
--- /dev/null
+++ b/PKGBUILD
@@ -0,0 +1,36 @@
+# Maintainer: Vojtech Kral <vojtech -at- kral -dot- hk>
+# Contributor: Arkham <arkham at archlinux dot us>
+# Contributor: Christoph Zeiler <archNOSPAM_at_moonblade.dot.org>
+
+pkgname=freerapid
+pkgver='0.9u4'
+pkgrel=1
+pkgdesc="A Java-based download manager for Rapidshare and other file sharing archives"
+arch=('any')
+url="http://wordrider.net/freerapid/"
+license=('GPL')
+depends=('java-runtime' 'gsettings-desktop-schemas')
+provides=('frd')
+source=(http://files.kral.hk/frd/FreeRapid-${pkgver}.zip
+ $pkgname.sh
+ $pkgname.desktop)
+
+sha256sums=('f26d570b63e9591e438a625f87eee80480b160f077a4d7aae433c8d3e0d20ab9'
+ '43e453a212e179a7dd6892fff51b10464a798300f6d4105c8163949cba037dc0'
+ '5bbca23e1d4225f86aecc84d50ebe100c32b42522cb684a55feecab1ca21e13c')
+
+package()
+{
+ cd $srcdir/FreeRapid-$pkgver
+
+ # Copy data and fix permissions
+ install -d "$pkgdir/usr/share/$pkgname"
+ cp -rf frd.jar lib/ lookandfeel/ search/ objectdb.conf "$pkgdir/usr/share/$pkgname/"
+ find "$pkgdir/usr/share/$pkgname" -type f -exec chmod 644 '{}'
+
+ # Install bin, icon and desktop file
+ install -Dm 755 "$srcdir/$pkgname.sh" "$pkgdir/usr/bin/$pkgname"
+ ln -sf "$pkgname" "$pkgdir/usr/bin/frd"
+ install -Dm 644 frd.png "$pkgdir/usr/share/pixmaps/$pkgname.png"
+ install -Dm 644 "$srcdir/$pkgname.desktop" "$pkgdir/usr/share/applications/$pkgname.desktop"
+}
diff --git a/freerapid.desktop b/freerapid.desktop
new file mode 100644
index 00000000000..496fffb73c7
--- /dev/null
+++ b/freerapid.desktop
@@ -0,0 +1,11 @@
+[Desktop Entry]
+Name=FreeRapid Downloader
+GenericName=Download Manager
+Comment=Download files from RapidShare and other file sharing archives
+Exec=freerapid
+StartupNotify=true
+Icon=freerapid
+Terminal=false
+X-MultipleArgs=false
+Type=Application
+Categories=Network;
diff --git a/freerapid.sh b/freerapid.sh
new file mode 100755
index 00000000000..dbbd398c04f
--- /dev/null
+++ b/freerapid.sh
@@ -0,0 +1,3 @@
+#!/bin/sh
+
+exec java -jar /usr/share/freerapid/frd.jar "$@"