PKGBUILDs/community/umlet/PKGBUILD
2009-10-09 21:15:33 -05:00

35 lines
1,019 B
Bash

# $Id: PKGBUILD 3211 2009-09-30 14:59:21Z spupykin $
# Maintainer: Sergej Pupykin <pupykin.s+arch@gmail.com>
# Contributor: Gleidson Echeli <gleidson dot echeli at gmail dot com>
pkgname=umlet
pkgver=10.0
pkgrel=1
pkgdesc="Free UML Tool for Fast UML Diagrams (stand-alone version)"
arch=('any')
url="http://www.umlet.com"
license=('GPL')
depends=('java-runtime')
makedepends=('unzip' 'patch')
source=("http://www.umlet.com/umlet_${pkgver/./_}/umlet_10.zip"
'umlet.desktop'
'UMLet.sh.diff')
md5sums=('c64078bc1cc018bda43c7b226575a961'
'f07815432b21ab77ed953df79223dc8c'
'658ee8c5bde1ee1e4604ddc46757a729')
build() {
install -D -m644 ${srcdir}/umlet.desktop ${startdir}/pkg/usr/share/applications/umlet.desktop || return 1
cd ${srcdir}/UMLet
patch -Np1 -i ../UMLet.sh.diff || return 1
rm -f UMLet.sh.orig
install -D -m755 UMLet.sh ${pkgdir}/usr/bin/umlet || return 1
rm -rf src || return 1
rm -ff UMLet.exe || return 1
mv ${srcdir}/UMLet ${pkgdir}/usr/share/umlet || return 1
}