blob: fbb049898a2cc6756997e1c711a6205b377733b2 (
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
|
# Maintainer : Yvaniak <ewen @ philippot dot biz>
# Contributor: Plague-doctor <plague at privacyrequired dot com >
# Contributor: tongpu
pkgname=moneydance
pkgver=2024.1.5118
pkgrel=1
pkgdesc="A personal finance manager for Mac, Windows and Linux"
arch=('i686' 'x86_64' 'aarch64')
url="https://www.moneydance.com/"
license=('custom')
depends=('java-runtime' 'bash')
source=('moneydance.sh' 'moneydance.desktop')
source_x86_64=(${pkgname}_amd64-${pkgver}-${pkgrel}.tar.gz::https://infinitekind.com/stabledl/current/Moneydance_linux_amd64.tar.gz)
source_aarch64=(${pkgname}_amd64-${pkgver}-${pkgrel}.tar.gz::https://infinitekind.com/stabledl/current/Moneydance_linux_amd64.tar.gz)
package() {
# generate directories in $pkgdir
install -m755 -d "$pkgdir/usr/bin" \
"$pkgdir/usr/share/java/$pkgname" \
"$pkgdir/usr/share/licenses/$pkgname" \
"$pkgdir/usr/share/applications" \
"$pkgdir/usr/share/pixmaps"
# copy files
cd "$srcdir"
install -m755 "$pkgname.sh" "$pkgdir/usr/bin/$pkgname" || return 1
install -m644 "$pkgname.desktop" "$pkgdir/usr/share/applications/$pkgname.desktop" || return 1
# copy Mac icon since they're higher res
cd "$srcdir/Moneydance/lib"
bsdcpio --extract --make-directories "com/moneydance/apps/md/view/gui/glyphs/appicon_128.png" < $pkgname.jar || return 1
cd "$srcdir/${pkgname^}"
#patch -uN "resources/moneydance.desktop" "../moneydance.patch"
#install -m644 "moneydance.desktop" "$pkgdir/usr/share/applications/$pkgname.desktop" || return 1
install -m644 "resources/license.txt" "$pkgdir/usr/share/licenses/$pkgname/LICENSE" || return 1
install -m644 lib/com/moneydance/apps/md/view/gui/glyphs/appicon_128.png "$pkgdir/usr/share/pixmaps/$pkgname.png" || return 1
install -m644 lib/*.jar "$pkgdir/usr/share/java/$pkgname" || return 1
}
sha256sums=('eff9da311388e046e33f2c3669b0229b92bc650eb5f76589233afaa41dc39109'
'242dc66a95c4842099e41092bd87ccaf97c314bed1f9865f5c6a72f135f7de21')
sha256sums_x86_64=('46e3c1e6567383ec71c6843cdd980997761701721afa84b3003064d0a3e96451')
sha256sums_aarch64=('46e3c1e6567383ec71c6843cdd980997761701721afa84b3003064d0a3e96451')
|