summaryrefslogtreecommitdiff
path: root/community/mercury
diff options
context:
space:
mode:
authorParabola <dev@list.parabolagnulinux.org>2011-04-05 14:26:38 +0000
committerParabola <dev@list.parabolagnulinux.org>2011-04-05 14:26:38 +0000
commit415856bdd4f48ab4f2732996f0bae58595092bbe (patch)
treeede2018b591f6dfb477fe9341ba17b9bc000fab9 /community/mercury
Tue Apr 5 14:26:38 UTC 2011
Diffstat (limited to 'community/mercury')
-rw-r--r--community/mercury/PKGBUILD36
-rw-r--r--community/mercury/license.txt8
2 files changed, 44 insertions, 0 deletions
diff --git a/community/mercury/PKGBUILD b/community/mercury/PKGBUILD
new file mode 100644
index 000000000..be8e30945
--- /dev/null
+++ b/community/mercury/PKGBUILD
@@ -0,0 +1,36 @@
+#$Id: PKGBUILD 2282 2009-09-14 07:35:54Z giovanni $
+# Maintainer: Andrea Scarpino <andrea@archlinux.org>
+# Contributor: DaNiMoTh <jjdanimoth@gmail.com>
+
+pkgname=mercury
+pkgver=1.9.5
+pkgrel=2
+pkgdesc="Java Based MSN client."
+license=('custom')
+arch=('i686' 'x86_64')
+url="http://www.mercury.im"
+depends=('java-runtime' 'libxss' 'libxt')
+makedepends=('rpmextract')
+source=(http://thebachman.info/public/Versions_Ubuntu/${pkgname}-messenger-${pkgver}-2.all.rpm
+ "license.txt")
+md5sums=('7d5835cf1ac7864386efe42b9cf67d6b'
+ '6ce0e815d63db6ac55a28e8d52c3f8da')
+
+build() {
+ cd "$srcdir"
+
+ rpmextract.sh ${pkgname}-messenger-${pkgver}-2.all.rpm
+
+ install -d "$pkgdir/usr/share/java/mercury"
+ cp -r usr "$pkgdir"
+ mv "$pkgdir/usr/share/mercury" "$pkgdir/usr/share/java/"
+
+ # FS#16171
+ find ${pkgdir} -type f -exec chmod -R 644 {} \;
+ find ${pkgdir} -type d -exec chmod 755 {} \;
+ chmod 755 ${pkgdir}/usr/share/java/mercury/startup/startup_linux.sh
+
+ install -D -m644 "$srcdir/license.txt" "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
+ rm -rf "$pkgdir/usr/bin/mercury"
+ ln -s /usr/share/java/mercury/startup/startup_linux.sh "$pkgdir/usr/bin/mercury"
+}
diff --git a/community/mercury/license.txt b/community/mercury/license.txt
new file mode 100644
index 000000000..43e416eff
--- /dev/null
+++ b/community/mercury/license.txt
@@ -0,0 +1,8 @@
+Mercury is Freeware. It is not distributed with source code since it's closed source.
+
+You are allowed to change the setting files.
+You are allowed to redistribute Mercury.
+
+http://www.mercury.to/index.php?page=Wiki&wikipage=License
+
+