summarylogtreecommitdiffstats
path: root/PKGBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'PKGBUILD')
-rw-r--r--PKGBUILD50
1 files changed, 34 insertions, 16 deletions
diff --git a/PKGBUILD b/PKGBUILD
index 6d60a9f5a43..8c546052de0 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -1,14 +1,17 @@
-# Maintainer: Tomas Jasek <tomsik68(at)gmail(dot)com>
+# Maintainer: Gabriel Guldner <gabriel at guldner dot eu>
-pkgname="papyrus"
-pkgver="3.0.0"
+# Contributor: Tomas Jasek <tomsik68(at)gmail(dot)com>
+# Contributor: Alex Brinister <alex_brinister at yahoo dot com>
+
+pkgname='papyrus'
+pkgver='4.8.0'
pkgrel=1
-pkgdesc="Graphical editing tool for UML based on eclipse."
-arch=('i686' 'x86_64')
-url="http://www.eclipse.org/papyrus/"
+pkgdesc='Graphical editing tool for UML based on eclipse.'
+arch=('x86_64')
+url='http://www.eclipse.org/papyrus/'
license=('EPL')
groups=()
-depends=('java-runtime')
+depends=(java-runtime python libsecret)
makedepends=(tar)
provides=()
conflicts=()
@@ -17,24 +20,39 @@ backup=()
options=()
install=
changelog=
-_eclipsever="oxygen"
-source_i686=("http://ftp-stud.fht-esslingen.de/pub/Mirrors/eclipse/modeling/mdt/papyrus/rcp/${_eclipsever}/${pkgver}/papyrus-${_eclipsever}-${pkgver}-linux32.tar.gz")
-md5sums_i686=('608176cd672d425ce4d21f9cf2cf0149')
-md5sums_x86_64=('dcf605876567afcfd5d1a3a7ce617e5b')
-source_x86_64=("http://ftp-stud.fht-esslingen.de/pub/Mirrors/eclipse/modeling/mdt/papyrus/rcp/${_eclipsever}/${pkgver}/papyrus-${_eclipsever}-${pkgver}-linux64.tar.gz")
+_eclipsever='2020-06'
+md5sums=(
+ '2998813786cd8b03b72e07eb048b99e3'
+ '411d949e9e15e4e60f01f66091e18421'
+ 'd1d0f87c71fccdcca0bec57ccf36c2f0'
+)
+source=(
+ "http://ftp-stud.fht-esslingen.de/pub/Mirrors/eclipse/modeling/mdt/papyrus/rcp/${_eclipsever}/${pkgver}/papyrus-${_eclipsever}-${pkgver}-linux64.tar.gz"
+ "papyrus.png"
+ "papyrus.desktop"
+)
noextract=()
build() {
cd $srcdir
tar -xvzf papyrus-${_eclipsever}-${pkgver}-linux*.tar.gz
mkdir -p $srcdir/usr/bin/
- echo -e '#!/bin/sh\nexec /usr/lib/papyrus/papyrus' > $srcdir/usr/bin/papyrus
+ echo -e '#!/bin/sh\nexec /usr/lib/papyrus/papyrus' > $srcdir/papyrus
}
package() {
cd $srcdir
mkdir -p $pkgdir/usr/lib/papyrus
- mv $srcdir/Papyrus/* $pkgdir/usr/lib/papyrus/
mkdir -p $pkgdir/usr/bin/
- install -m775 $srcdir/usr/bin/papyrus $pkgdir/usr/bin/papyrus
-}
+ mkdir -p $pkgdir/usr/share/icons
+ mkdir -p $pkgdir/usr/share/applications
+
+ install -m644 papyrus.png $pkgdir/usr/share/icons/
+ install -m755 papyrus.desktop $pkgdir/usr/share/applications/
+
+ cd "$srcdir/Papyrus"
+ find . -type f -exec install -vDm755 {} $pkgdir/usr/lib/papyrus/{} \;
+
+ install -m755 $srcdir/papyrus $pkgdir/usr/bin/
+ # mv $pkgdir/usr/lib/papyrus/icon.xpm $pkgdir/usr/share/icons/papyrus.xpm
+} \ No newline at end of file