summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 7b3b655e2ced86714a04711bebf1c1f9ae8313d0 (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
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
# Maintainer: rafaelsoaresbr <rafaelsoaresbr@gmail.com>
# Maintainer: llde 
# modelio-bin
# Contributing: https://github.com/rafaelsoaresbr/pkgbuild
# Builds: https://gitlab.com/rafaelsoaresbr/pkgbuild/builds
#pkgbase=
pkgname=modelio-bin

# Version
_pkgvermajor=3
_pkgverminor=8
_pkgverpatch=0
pkgver="${_pkgvermajor}.${_pkgverminor}.${_pkgverpatch}"
pkgrel=1

# Generic
pkgdesc="The opensource modeling environment"
arch=('i686' 'x86_64')
url="https://www.modelio.org/"
license=('GPL3')
#groups=()

# Dependencies
depends=('glib2' 'java-runtime' 'libx11' 'libxtst' 'webkit2gtk')
optdepends=('atk' 'gtk2' 'cairo')
#makedepends=()
#checkdepends=()

# Package Relations
#provides=()
#conflicts=()
#replaces=()

# Others
#backup=()
#options=()
#install=modelio

# Sources
source=("modelio.desktop")
source_i686=("modelio-${pkgver}-i686.deb::https://sourceforge.net/projects/modeliouml/files/${pkgver}/modelio-open-source${_pkgvermajor}.${_pkgverminor}_${pkgver}_i386.deb/download")
source_x86_64=("modelio-${pkgver}-x86_64.deb::https://sourceforge.net/projects/modeliouml/files/${pkgver}/modelio-open-source${_pkgvermajor}.${_pkgverminor}_${pkgver}_amd64.deb/download")
#noextract=()
#validpgpkeys=()
sha256sums=('af7e10bb2849fb9cdb2ec0054d782dedd5c6901cbf3e742d1ab872447ae38b5c')
sha256sums_i686=('8cdc9b094807c509d943bcd1b88bbc3c5862c425799f19f05f796446447f3185')
sha256sums_x86_64=('4d3252c0f611172c94d322cfa3e3257bb21adc9c2278f1e411bbbde0b5d21ded')

#pkgver() {
#}

prepare() {
    ar p modelio-${pkgver}-${CARCH}.deb data.tar.xz | tar xJ
}

#build() {
#}

#check() {
#}

package() {
    install -dm755 "${pkgdir}/usr/share/applications/"
    install -dm755 "${pkgdir}/opt/modelio"
    install -Dm755 "${srcdir}/modelio.desktop" "${pkgdir}/usr/share/applications/"
    cp -r "${srcdir}"/usr/lib/modelio-open-source${_pkgvermajor}.${_pkgverminor}/* "${pkgdir}/opt/modelio/"
}