diff options
author | Jonathon Fernyhough | 2018-12-08 21:33:45 +0000 |
---|---|---|
committer | Jonathon Fernyhough | 2018-12-08 21:33:45 +0000 |
commit | 03eb172dc781d1b9b364bd72b2c66ebba3358a48 (patch) | |
tree | 82469c899f53e71faf1b3c41e41505b1cd5cb199 | |
download | aur-03eb172dc781d1b9b364bd72b2c66ebba3358a48.tar.gz |
Initial packaging of snapshot 0.8.0
-rw-r--r-- | .SRCINFO | 16 | ||||
-rw-r--r-- | PKGBUILD | 31 | ||||
-rwxr-xr-x | mapton.desktop | 10 |
3 files changed, 57 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO new file mode 100644 index 000000000000..05080cf87783 --- /dev/null +++ b/.SRCINFO @@ -0,0 +1,16 @@ +pkgbase = mapton + pkgdesc = Some kind of map application + pkgver = 0.8.0 + pkgrel = 1 + url = https://mapton.org + arch = any + license = AGPL + source = https://mapton.org/files/mapton-0.8.0-SNAPSHOT.zip + source = mapton.desktop + sha256sums = 3ef19131c01fba6d08ceb79ad468aaaf936607ac7b739acc9480917201b753ff + sha256sums = a51a83f390dc75fd8164f94954dc2a28fa7efe8e2274c9ded45412a2bc2bd169 + +pkgname = mapton + depends = java-runtime>=8 + depends = java-openjfx + diff --git a/PKGBUILD b/PKGBUILD new file mode 100644 index 000000000000..11d3bdd3ec7d --- /dev/null +++ b/PKGBUILD @@ -0,0 +1,31 @@ +# Maintainer: Jonathon Fernyhough <jonathon_at_manjaro dot+org> + +pkgname=mapton +pkgver=0.8.0 +pkgrel=1 +pkgdesc="Some kind of map application" +arch=(any) +url="https://mapton.org" +license=('AGPL') +source=("$url/files/$pkgname-$pkgver-SNAPSHOT.zip" + mapton.desktop) +sha256sums=('3ef19131c01fba6d08ceb79ad468aaaf936607ac7b739acc9480917201b753ff' + 'a51a83f390dc75fd8164f94954dc2a28fa7efe8e2274c9ded45412a2bc2bd169') + +package() { + depends=('java-runtime>=8' 'java-openjfx') + + # Initial target directories + install -d $pkgdir/opt/mapton $pkgdir/usr/bin + + # Majority of files, ensure file permissions are correct + cp -r mapton/{etc,extra,mapton,platform} $pkgdir/opt/mapton + rm -f $pkgdir/opt/mapton/bin/*.exe + chmod -R u=rwX,go=rX $pkgdir/opt + + # Executables and launchers + install -D mapton/bin/mapton $pkgdir/opt/mapton/bin/mapton + ln -s /opt/mapton/bin/mapton $pkgdir/usr/bin/mapton + install -D mapton.desktop $pkgdir/usr/share/applications/mapton.desktop +} + diff --git a/mapton.desktop b/mapton.desktop new file mode 100755 index 000000000000..601da799bea9 --- /dev/null +++ b/mapton.desktop @@ -0,0 +1,10 @@ +[Desktop Entry] +Version=1.0 +Type=Application +Name=Mapton +Comment=Some kind of map application +Exec=mapton +Icon=gnome-maps +Terminal=false +Categories=Application;Education; +StartupNotify=true |