blob: 94427c0f341f674f1d7f7d58117a75a82a379bab (
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
68
69
|
# Maintainer: Taleiven Kattan <taleiven at gmail dot com>
# Contributor: rafaelsoaresbr <rafaelsoaresbr@gmail.com>
# Contributor: llde
# modelio-bin
# Contributing: https://github.com/rafaelsoaresbr/pkgbuild
# Builds: https://gitlab.com/rafaelsoaresbr/pkgbuild/builds
#pkgbase=
pkgname=modelio-bin
# Version
_pkgvermajor=5
_pkgverminor=4
_pkgverpatch=1
pkgver="${_pkgvermajor}.${_pkgverminor}.${_pkgverpatch}"
pkgrel=0
# Generic
pkgdesc="The opensource modeling environment"
arch=('x86_64')
url="https://www.modelio.org/"
license=('GPL3')
#groups=()
# Dependencies
depends=('glib2' 'glibc' 'webkit2gtk' 'at-spi2-core' 'gtk3')
optdepends=('gtk2' 'webkitgtk2')
#makedepends=()
#checkdepends=()
# Package Relations
#provides=()
#conflicts=()
#replaces=()
# Others
#backup=()
#options=()
#install=modelio
# Sources
source=("modelio.desktop" "modelio.patch")
source_x86_64=("modelio-${pkgver}-x86_64.deb::https://github.com/ModelioOpenSource/Modelio/releases/download/v${pkgver}/modelio-open-source-${pkgver}_amd64.deb")
#noextract=()
#validpgpkeys=()
sha256sums=('ea0233daf57b51b05f0a0322217ebbab02b41864dd56ea31bd057a506e1f8249'
'bc87a815e0af78ece34ccbc878b88b17b9b00557a98c113cefc9b4111462dbbb')
sha256sums_x86_64=('720eebb886293a0cf69df6b1dfb33cb14b3cf50bdb6f93ccb9dc91d19362511a')
#pkgver() {
#}
prepare() {
ar p modelio-${pkgver}-${CARCH}.deb data.tar.xz | tar xJ
# cd "${srcdir}/usr/lib/modelio-open-source${_pkgvermajor}.${_pkgverminor}"
# patch --input=${srcdir}/modelio.patch modelio.sh
}
#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/"
}
|