blob: 4f3b8586a325c4484dc4fc7d58af2c11b55b87ab (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
|
# Maintainer : Florent H. CARRÉ <colundrum@gmail.com>
pkgname="yaoqiang-bpmn-editor"
_pkgver_major=4.0
_pkgver_minor=36
pkgver="${_pkgver_major}.${_pkgver_minor}"
pkgrel=1
pkgdesc="An open source graphical editor for business process diagrams, compliant with OMG specifications (BPMN 2.0)."
arch=(any)
url="http://bpmn.sourceforge.net/"
_curver_license="GPLv3"
license=('GPL3'
'custom: "free for non-commercial use"')
depends=(java-environment)
source=('yaoqiang-bpmn-editor'
'yaoqiang-bpmn-editor.desktop'
'yaoqiang-bpmn-editor.png'
"http://downloads.sourceforge.net/project/bpmn/${_pkgver_major}-${_curver_license}/${pkgname}-${pkgver}.zip")
sha256sums=('e07d0a5de0f58ae849db7f273df0625cfe45d3416ece0511968c7951177e3cd0'
'58d987538c56e8e0b542dd025803230c25265cd45d6040f9f398cc68ab4ad7ac'
'038fd8a5e1f9518645fdb8382d704ed5297b89350c5fcace9f63213edb6d380e'
'23af78721e17ab7d30b73ce7604c1bee4b73ef1eaa93a0aee92814c862b0e2d2')
build() {
# prepare the application files
mkdir -p ${srcdir}/opt/${pkgname}
cp -r ${srcdir}/yaoqiang-${pkgver}/* ${srcdir}/opt/${pkgname}
cp ${srcdir}/${pkgname}.png ${srcdir}/opt/${pkgname}
cp ${srcdir}/${pkgname} ${srcdir}/opt/${pkgname}
}
package() {
# add the application files
cp -r ${srcdir}/opt ${pkgdir}/opt
# prepare and add the .desktop file
mkdir -p ${pkgdir}/usr/share/applications
cp ${srcdir}/${pkgname}.desktop ${pkgdir}/usr/share/applications/${pkgname}.desktop
}
|