diff options
author | root <root@rshg054.dnsready.net> | 2013-05-13 01:16:28 -0700 |
---|---|---|
committer | root <root@rshg054.dnsready.net> | 2013-05-13 01:16:28 -0700 |
commit | 66cb4a487ad73063c6b000279a5d5558fb7603f5 (patch) | |
tree | ee73bbc414ba8aec6b9a578578ceaabd38fff01e /pcr/lcmc | |
parent | 5b9e0d821dd428792bd51ed03af2b800924ce69d (diff) |
Mon May 13 01:16:27 PDT 2013
Diffstat (limited to 'pcr/lcmc')
-rw-r--r-- | pcr/lcmc/PKGBUILD | 39 | ||||
-rw-r--r-- | pcr/lcmc/lcmc.desktop | 10 |
2 files changed, 49 insertions, 0 deletions
diff --git a/pcr/lcmc/PKGBUILD b/pcr/lcmc/PKGBUILD new file mode 100644 index 000000000..538949f60 --- /dev/null +++ b/pcr/lcmc/PKGBUILD @@ -0,0 +1,39 @@ +# Maintainer (Parabola): Márcio Silva <coadde@lavabit.com> + +pkgname=lcmc +pkgver=1.5.1 +pkgrel=1 +pkgdesc='Linux Cluster Management Console' +arch=any +url=http://$pkgname.sourceforge.net/ +license=GPL +depends=( + java-runtime + libxtst +) +source=( + http://downloads.sourceforge.net/$pkgname/${pkgname^^*}-$pkgver.jar + $pkgname.desktop +) +sha512sums=( + 7f8c68ef45078bda1bf6a811affb782e1ae440fd7d9aceca6a73fb315ffb37a4483d0a8fa80fb058c6522d2053088dd9bcfcb9a9f09b8660ab200594cb38d7af + 232866f1fbb806edc8d2844527bb44ba5c568fa57da308e7457e1d1140113ad173c2c7c40f29eac6712e1e2601db85cfecdcca525eecda355b32f8a370f9f87e +) + +package() { + cd $srcdir + install -d $pkgdir/usr/bin + echo "#!/bin/bash\njava -jar /usr/lib/$pkgname/${pkgname^^}-$pkgver.jar" > $pkgdir/usr/bin/lcmc + install -d $pkgdir/usr/lib/$pkgname + install -t $pkgdir/usr/lib/$pkgname ${pkgname^^}-$pkgver.jar + for i in 16x16 32x32 48x48 64x64 128x128 256x256; do + install -d $pkgdir/usr/share/icons/hicolor/$i/apps + install -t $pkgdir/usr/share/icons/hicolor/$i/apps\ + $srcdir/images/Icons/$i/$pkgname.png + done + install -d $pkgdir/usr/share/applications + install -t $pkgdir/usr/share/applications $pkgname.desktop +} + +# vim:set ts=2 sw=2 et: + diff --git a/pcr/lcmc/lcmc.desktop b/pcr/lcmc/lcmc.desktop new file mode 100644 index 000000000..2bcd93de6 --- /dev/null +++ b/pcr/lcmc/lcmc.desktop @@ -0,0 +1,10 @@ +[Desktop Entry] +Version=1.5.1 +Encoding=UTF-8 +Name=Linux Cluster Management Console +Comment=Linux Cluster Management Console +Exec=/usr/bin/lcmc +Icon=/usr/share/icons/hicolor/256x256/apps/lcmc.png +Terminal=false +Type=Application +Categories=Java;Network; |