1 # Contributor: Jakub Fiser AKA mr.MikyMaus <mr@MikyMaus.org>
6 pkgdesc="An ER Modeller written in Java. used for teaching at CVUT FEL, Prague"
8 url="http://service.felk.cvut.cz/courses/Y36DBS"
10 depends=('java-runtime')
12 source=("http://service.felk.cvut.cz/courses/Y36DBS/additions/$pkgname-$pkgver.zip")
13 noextract=("$pkgname-$pkgver.zip")
14 md5sums=('9ab7140acfed08a5648067af248823c9')
18 unzip "$pkgname-$pkgver.zip"
19 mkdir -p "${pkgdir}/opt" "${pkgdir}/usr/bin"
20 mv "$pkgname-$pkgver" "${pkgdir}/opt/$pkgname"
21 echo -e '#!/bin/sh \n\n java -jar /opt/erm/erm.jar "$@" \n exit "$?"' > "${pkgdir}/usr/bin/erm"
22 chmod 755 "${pkgdir}/usr/bin/erm"
25 # vim:set ts=2 sw=2 et: