mirror of
https://github.com/archlinuxarm/PKGBUILDs.git
synced 2024-12-08 23:03:46 +00:00
36 lines
1.1 KiB
Bash
36 lines
1.1 KiB
Bash
#$Id: PKGBUILD 2266 2009-09-13 17:20:49Z andrea $
|
|
# 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"
|
|
}
|