summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorLaurent2015-09-05 10:29:32 +0200
committerLaurent2015-09-05 10:29:32 +0200
commiteaa5f2e78e8fd05236828745198f226e351d7772 (patch)
treea0f4e96cab5ad686c8b11ddad1646b0a5cbdce0b
downloadaur-eaa5f2e78e8fd05236828745198f226e351d7772.tar.gz
Initial import
-rw-r--r--.SRCINFO17
-rw-r--r--PKGBUILD46
2 files changed, 63 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO
new file mode 100644
index 00000000000..2405a7255f1
--- /dev/null
+++ b/.SRCINFO
@@ -0,0 +1,17 @@
+pkgbase = pharo-launcher
+ pkgdesc = Pharo Launcher helps you manage your Pharo images
+ pkgver = 4.0
+ pkgrel = 2
+ url = http://www.pharo-project.org/
+ arch = i686
+ arch = x86_64
+ license = MIT
+ makedepends = gendesk
+ depends = pharo-vm-latest
+ source = http://files.pharo.org/media/logo/icon-lighthouse-128x128.png
+ source = https://ci.inria.fr/pharo/view/Launcher/job/Launcher/PHARO=40,VERSION=stable,VM=vm,label=linux/49/artifact/PharoLauncher-user-stable-2015.04.20.zip
+ md5sums = dec67d08d24433696375a319de029f34
+ md5sums = b1c4b91c000c6fe6aa5fa43c00288e58
+
+pkgname = pharo-launcher
+
diff --git a/PKGBUILD b/PKGBUILD
new file mode 100644
index 00000000000..3da87216f16
--- /dev/null
+++ b/PKGBUILD
@@ -0,0 +1,46 @@
+# Contributor: Laurent Laffont <laurent.laffont@gmail.com>
+
+
+pkgname=pharo-launcher
+pkgver=4.0
+pkgrel=2
+pkgdesc="Pharo Launcher helps you manage your Pharo images"
+arch=(i686 x86_64)
+source=($pkgname-$pkgver.tar.gz)
+url="http://www.pharo-project.org/"
+license=('MIT')
+makedepends=('gendesk')
+depends=('pharo-vm-latest')
+
+source=(
+ 'http://files.pharo.org/media/logo/icon-lighthouse-128x128.png'
+ 'https://ci.inria.fr/pharo/view/Launcher/job/Launcher/PHARO=40,VERSION=stable,VM=vm,label=linux/49/artifact/PharoLauncher-user-stable-2015.04.20.zip'
+)
+
+md5sums=(
+ 'dec67d08d24433696375a319de029f34'
+ 'b1c4b91c000c6fe6aa5fa43c00288e58')
+
+prepare() {
+ gendesk -f --pkgname "$pkgname" --pkgdesc "$pkgdesc"
+}
+
+
+package() {
+ cd $srcdir/
+
+ mkdir -p $pkgdir/usr/share/pharo-launcher/
+ mkdir -p $pkgdir/usr/bin/
+ mkdir -p $pkgdir/usr/share/pixmaps/
+
+ cp -f $srcdir/PharoLauncher.* $pkgdir/usr/share/pharo-launcher/
+ chgrp users $pkgdir/usr/share/pharo-launcher/PharoLauncher.changes
+ chmod 775 $pkgdir/usr/share/pharo-launcher/PharoLauncher.changes
+
+ echo "/usr/bin/pharo /usr/share/pharo-launcher/PharoLauncher.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
+ install -Dm644 "$pkgname.desktop" "$pkgdir/usr/share/applications/$pkgname.desktop"
+ install -D -m644 $srcdir/$pkgname.desktop $pkgdir/usr/share/applications/$pkgname.desktop
+}