summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorbadetitou2018-01-28 19:37:19 +0100
committerbadetitou2018-01-28 19:37:19 +0100
commit0f28cd4d36e5de62b97ae83164a2654fef7ce0ce (patch)
treefec75c5b34cb884482ae5f4694a7da59fc30b02d
parent5f97aec310561e89693ef2a2d2c211283c1f3ec6 (diff)
downloadaur-0f28cd4d36e5de62b97ae83164a2654fef7ce0ce.tar.gz
update version 1.1
-rw-r--r--.SRCINFO10
-rw-r--r--PKGBUILD32
2 files changed, 24 insertions, 18 deletions
diff --git a/.SRCINFO b/.SRCINFO
index 96512d53894..853ee54db0f 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,18 +1,14 @@
pkgbase = pharo-launcher
pkgdesc = Pharo Launcher helps you manage your Pharo images
pkgver = 1.1
- pkgrel = 0
+ pkgrel = 2
epoch = 1
url = http://www.pharo-project.org/
- arch = i686
arch = x86_64
license = MIT
makedepends = gendesk
- depends = pharo-spur-vm
- source = http://files.pharo.org/media/logo/icon-lighthouse-128x128.png
- source = http://files.pharo.org/platform/launcher/PharoLauncher-user-stable-2018.01.16.zip
- md5sums = dec67d08d24433696375a319de029f34
- md5sums = 1d65793eef99259889c57f2d845e8abe
+ source = http://files.pharo.org/pharo-launcher/1.1/PharoLauncher-linux-1.1-x64.zip
+ md5sums = 65e32da85f014e2c9682c35ccfa21b0b
pkgname = pharo-launcher
diff --git a/PKGBUILD b/PKGBUILD
index da29e959c9c..70a02b2c6f6 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -4,24 +4,21 @@
pkgname=pharo-launcher
pkgver=1.1
-pkgrel=0
+pkgrel=2
epoch=1
pkgdesc="Pharo Launcher helps you manage your Pharo images"
-arch=(i686 x86_64)
+arch=(x86_64)
source=($pkgname-$pkgver.tar.gz)
url="http://www.pharo-project.org/"
license=('MIT')
makedepends=('gendesk')
-depends=('pharo-spur-vm')
source=(
- 'http://files.pharo.org/media/logo/icon-lighthouse-128x128.png'
- 'http://files.pharo.org/platform/launcher/PharoLauncher-user-stable-2018.01.16.zip'
+ 'http://files.pharo.org/pharo-launcher/1.1/PharoLauncher-linux-1.1-x64.zip'
)
md5sums=(
- 'dec67d08d24433696375a319de029f34'
- '1d65793eef99259889c57f2d845e8abe'
+ '65e32da85f014e2c9682c35ccfa21b0b'
)
prepare() {
@@ -33,18 +30,31 @@ package() {
cd $srcdir/
mkdir -p $pkgdir/usr/share/pharo-launcher/
- mkdir -p $pkgdir/usr/bin/
+ mkdir -p $pkgdir/usr/share/pharo/
mkdir -p $pkgdir/usr/share/pixmaps/
+ mkdir -p $pkgdir/usr/bin/
- cp -f $srcdir/PharoLauncher.* $pkgdir/usr/share/pharo-launcher/
+ cp -fR $srcdir/pharo/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
- echo "/usr/bin/pharo-spur /usr/share/pharo-launcher/PharoLauncher.image" > $pkgdir/usr/bin/pharo-launcher
+ cp -f $srcdir/pharo/pharo $pkgdir/usr/bin/pharo
+ chmod +x $pkgdir/usr/bin/pharo
+
+ echo "/usr/bin/pharo /usr/share/pharo-launcher/Pharo.image" > $pkgdir/usr/bin/pharo-launcher
chmod +x $pkgdir/usr/bin/pharo-launcher
- cp $srcdir/icon-lighthouse-128x128.png $pkgdir/usr/share/pixmaps/$pkgname.png
+ cp $srcdir/pharo/icons/Pharo.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
+
}