summarylogtreecommitdiffstats
path: root/PKGBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'PKGBUILD')
-rw-r--r--PKGBUILD39
1 files changed, 39 insertions, 0 deletions
diff --git a/PKGBUILD b/PKGBUILD
new file mode 100644
index 00000000000..68d167d47df
--- /dev/null
+++ b/PKGBUILD
@@ -0,0 +1,39 @@
+# Maintainer: Tomas Jasek <tomsik68(at)gmail(dot)com>
+
+pkgname="papyrus"
+pkgver="1.1.3"
+pkgrel=1
+pkgdesc="Graphical editing tool for UML based on eclipse."
+arch=('i686' 'x86_64')
+url="http://www.eclipse.org/papyrus/"
+license=('EPL')
+groups=()
+depends=('java-runtime')
+makedepends=(tar)
+provides=()
+conflicts=()
+replaces=()
+backup=()
+options=()
+install=
+changelog=
+source_i686=("http://ftp.snt.utwente.nl/pub/software/eclipse//modeling/mdt/papyrus/rcp/mars/1.1.3/papyrus-mars-${pkgver}-linux32.tar.gz")
+md5sums_i686=('c9c4a1d743ded0e221ccaf66826c97bf')
+md5sums_x86_64=('1a7781a582036b7d07acbdf9d4dee9ed')
+source_x86_64=("http://ftp.snt.utwente.nl/pub/software/eclipse//modeling/mdt/papyrus/rcp/mars/1.1.3/papyrus-mars-${pkgver}-linux64.tar.gz")
+noextract=()
+
+build() {
+ cd $srcdir
+ tar -xvzf *.gz
+ mkdir -p $srcdir/usr/bin/
+ echo 'exec /usr/lib/papyrus/papyrus' > $srcdir/usr/bin/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
+}