summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorbadetitou2018-06-19 20:36:36 +0200
committerbadetitou2018-06-19 20:36:36 +0200
commit72d28d83eeb1483a2ab4695dd42cc4f52b777c29 (patch)
tree06098ca941fd0561400bea210fccf948d39ed21c
parent0f28cd4d36e5de62b97ae83164a2654fef7ce0ce (diff)
downloadaur-72d28d83eeb1483a2ab4695dd42cc4f52b777c29.tar.gz
Update version 1.2
-rw-r--r--.SRCINFO6
-rw-r--r--PKGBUILD37
2 files changed, 22 insertions, 21 deletions
diff --git a/.SRCINFO b/.SRCINFO
index 853ee54db0f..c43ce09947c 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,14 +1,14 @@
pkgbase = pharo-launcher
pkgdesc = Pharo Launcher helps you manage your Pharo images
- pkgver = 1.1
+ pkgver = 1.2
pkgrel = 2
epoch = 1
url = http://www.pharo-project.org/
arch = x86_64
license = MIT
makedepends = gendesk
- source = http://files.pharo.org/pharo-launcher/1.1/PharoLauncher-linux-1.1-x64.zip
- md5sums = 65e32da85f014e2c9682c35ccfa21b0b
+ source = http://files.pharo.org/pharo-launcher/1.2/PharoLauncher-linux-1.2-x64.zip
+ md5sums = 6f3c5fdaa282cecddb45ed3f92a3db25
pkgname = pharo-launcher
diff --git a/PKGBUILD b/PKGBUILD
index 70a02b2c6f6..061bfca3d35 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -3,7 +3,7 @@
pkgname=pharo-launcher
-pkgver=1.1
+pkgver=1.2
pkgrel=2
epoch=1
pkgdesc="Pharo Launcher helps you manage your Pharo images"
@@ -14,11 +14,11 @@ license=('MIT')
makedepends=('gendesk')
source=(
- 'http://files.pharo.org/pharo-launcher/1.1/PharoLauncher-linux-1.1-x64.zip'
+ 'http://files.pharo.org/pharo-launcher/1.2/PharoLauncher-linux-1.2-x64.zip'
)
md5sums=(
- '65e32da85f014e2c9682c35ccfa21b0b'
+ '6f3c5fdaa282cecddb45ed3f92a3db25'
)
prepare() {
@@ -30,30 +30,31 @@ package() {
cd $srcdir/
mkdir -p $pkgdir/usr/share/pharo-launcher/
- mkdir -p $pkgdir/usr/share/pharo/
+ mkdir -p $pkgdir/usr/share/pharo-vm/
mkdir -p $pkgdir/usr/share/pixmaps/
- mkdir -p $pkgdir/usr/bin/
+ mkdir -p $pkgdir/usr/bin
- cp -fR $srcdir/pharo/shared/* $pkgdir/usr/share/pharo-launcher/
+
+ cp -fR $srcdir/pharolauncher/shared/* $pkgdir/usr/share/pharo-launcher/
chgrp -R users $pkgdir/usr/share/pharo-launcher/
chmod -R 775 $pkgdir/usr/share/pharo-launcher/
- cp -fR $srcdir/pharo/bin/* $pkgdir/usr/share/pharo/
- chgrp -R users $pkgdir/usr/share/pharo/
- chmod -R 775 $pkgdir/usr/share/pharo/
-
- sed -i 's/ROOT=`dirname "$DIR"`/ROOT=\/usr\/share/' $srcdir/pharo/pharo
- sed -i 's/LINUX="$ROOT\/bin"/LINUX="$ROOT\/pharo"/' $srcdir/pharo/pharo
- sed -i 's/RESOURCES="$ROOT\/shared"/RESOURCES="~"/' $srcdir/pharo/pharo
- sed -i 's/ICONS="$ROOT\/icons"/ICONS="$ROOT\/pixmaps"/' $srcdir/pharo/pharo
+ cp -fR $srcdir/pharolauncher/pharo-vm/* $pkgdir/usr/share/pharo-vm/
+ chgrp -R users $pkgdir/usr/share/pharo-vm/
+ chmod -R 775 $pkgdir/usr/share/pharo-vm/
- cp -f $srcdir/pharo/pharo $pkgdir/usr/bin/pharo
- chmod +x $pkgdir/usr/bin/pharo
+ sed -i 's/ROOT=`dirname "$DIR"`/ROOT=\/usr\/share/' $srcdir/pharolauncher/pharo-launcher
+ sed -i 's/LINUX="$ROOT\/bin"/LINUX="$ROOT\/pharo"/' $srcdir/pharolauncher/pharo-launcher
+ sed -i 's/RESOURCES="$ROOT\/shared"/RESOURCES="\/usr\/share\/pharo-launcher\/"/' $srcdir/pharolauncher/pharo-launcher
+ sed -i 's/ICONS="$ROOT\/icons"/ICONS="$ROOT\/pixmaps"/' $srcdir/pharolauncher/pharo-launcher
- echo "/usr/bin/pharo /usr/share/pharo-launcher/Pharo.image" > $pkgdir/usr/bin/pharo-launcher
+ cp -f $srcdir/pharolauncher/pharo-launcher $pkgdir/usr/bin/pharo-launcher
chmod +x $pkgdir/usr/bin/pharo-launcher
- cp $srcdir/pharo/icons/Pharo.png $pkgdir/usr/share/pixmaps/$pkgname.png
+# echo "/usr/bin/pharo-vm /usr/share/pharo-launcher/PharoLauncher.image" > $pkgdir/usr/bin/pharo-launcher
+# chmod +x $pkgdir/usr/bin/pharo-launcher
+
+ cp $srcdir/pharolauncher/icons/pharo-launcher.png $pkgdir/usr/share/pixmaps/$pkgname.png
install -Dm644 "$pkgname.desktop" "$pkgdir/usr/share/applications/$pkgname.desktop"
install -D -m644 $srcdir/$pkgname.desktop $pkgdir/usr/share/applications/$pkgname.desktop