-
Notifications
You must be signed in to change notification settings - Fork 0
/
PKGBUILD
48 lines (41 loc) · 1.46 KB
/
PKGBUILD
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
# Maintainer: Gabriel Guldner <gabriel at guldner dot eu>
# Contributor: Tomas Jasek <tomsik68(at)gmail(dot)com>
# Contributor: Alex Brinister <alex_brinister at yahoo dot com>
pkgname='papyrus'
pkgver='6.6.0'
_eclipsever='2023-12'
pkgrel=1
pkgdesc='Graphical editing tool for UML based on eclipse.'
arch=('x86_64')
url='http://www.eclipse.org/papyrus/'
license=('EPL')
groups=()
depends=(python perl bash)
makedepends=(tar)
provides=('papyrus')
conflicts=('papyrus')
sha256sums=('f5c3509e67f852214df53f9672b37bae6deb51df16ebb44da4038e25ca16a5d8'
'0bf0ff5eacc3e955a01c171cc21d8c989707ed9eee668ce176d67cfae06c8608'
'255f1d8b0277bb9e4a3f84d09294fe34a54485b29f67220733343f37db052b94'
'45387c39208b4e18f70059059729dfd06ed4c3393065aebd299072c6eec888ea')
source=(
"http://ftp-stud.fht-esslingen.de/pub/Mirrors/eclipse/modeling/mdt/papyrus/rcp/${_eclipsever}/${pkgver}/papyrus-${_eclipsever}-${pkgver}-linux64.tar.gz"
"papyrus.png"
"papyrus.desktop"
"papyrus"
)
build() {
cd "$srcdir/Papyrus"
}
package() {
cd "$srcdir"
mkdir -p "$pkgdir/usr/lib/papyrus"
mkdir -p "$pkgdir/usr/bin/"
mkdir -p "$pkgdir/usr/share/icons"
mkdir -p "$pkgdir/usr/share/applications"
install -m644 papyrus.png "$pkgdir/usr/share/icons/"
install -m755 papyrus.desktop "$pkgdir/usr/share/applications/"
cd "$srcdir/Papyrus"
find . -type f -exec install -vDm755 {} "$pkgdir/usr/lib/papyrus/"{} \;
install -m755 "$srcdir/papyrus" "$pkgdir/usr/bin/papyrus"
}