blob: 53ffc5b2162637158328155c4ee1def8b824a764 (
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: Patrik Karlström <pata.karlstrom@gmail.com>
pkgname=mapollage
pkgver=2.0.1
pkgrel=1
pkgdesc="mapollage is a photo album generator for Google Earth, a photo kml maker"
arch=('any')
url="https://trixon.se/projects/mapollage/"
license=('Apache')
depends=('java-openjfx>=8')
makedepends=('desktop-file-utils')
source=(
"https://trixon.se/files/$pkgname-$pkgver-bin.zip"
'mapollage.sh'
'mapollage.desktop'
)
sha256sums=(
'253d848fe929f1ec761515b4fc9e6f8e6606e06064867de75d5e52b2f65f3e32'
'9f7c96ef813c3cfda38abc83db1143abff6857b79cd75074abdce224a70d9ab4'
'7f908c214693692d259108df6239b0ac86b5c8b56381f9cce13ef5d9f2e5f930'
)
package() {
pushd "$srcdir/$pkgname-$pkgver"
# jars
install -d "$pkgdir/usr/share/java/mapollage"
find -name '*.jar' -execdir install -m644 {} "$pkgdir/usr/share/java/mapollage" \;
# icon
install -d "$pkgdir/usr/share/icons/hicolor/256x256/apps"
install -m644 mapollage.png "$pkgdir/usr/share/icons/hicolor/256x256/apps/mapollage.png"
popd
# launchers
install -Dm755 "$srcdir/mapollage.sh" "$pkgdir/usr/bin/mapollage"
# .desktop
desktop-file-install $pkgname.desktop --dir "$pkgdir/usr/share/applications/"
# remove version from filename
mv "$pkgdir/usr/share/java/mapollage/mapollage-${pkgver}.jar" "$pkgdir/usr/share/java/mapollage/mapollage.jar"
}
|