diff options
author | Dustin Childers | 2021-01-29 16:36:50 -0500 |
---|---|---|
committer | Dustin Childers | 2021-01-29 16:36:50 -0500 |
commit | bc60c0e801313926daf42b15926467cff43c8215 (patch) | |
tree | b41af0d97e2ce936c1a70d17c9f5a0e0a646fa01 | |
download | aur-bc60c0e801313926daf42b15926467cff43c8215.tar.gz |
Initial PKGBUILD for Little Navmap 2.6.7
-rw-r--r-- | .SRCINFO | 29 | ||||
-rw-r--r-- | LittleNavmap.desktop | 9 | ||||
-rw-r--r-- | PKGBUILD | 32 |
3 files changed, 70 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO new file mode 100644 index 000000000000..2b845231b529 --- /dev/null +++ b/.SRCINFO @@ -0,0 +1,29 @@ +pkgbase = littlenavmap-bin + pkgdesc = A Free Open Source Flight Planner, Navigation Tool, Moving Map, Airport Search, and Airport Information System for Flight Simulator X, Prepar3D, Microsoft Flight Simulator 2020, and X-Plane + pkgver = 2.6.7 + pkgrel = 1 + url = https://albar965.github.io/littlenavmap.html + arch = x86_64 + license = GPL3 + depends = glibc + depends = gcc-libs + depends = glib2 + depends = pcre + depends = libx11 + depends = libxau + depends = libxcb + depends = libxdmcp + depends = libglvnd + depends = gtk3 + depends = qt5-declarative + depends = qt5-svg + provides = littlenavmap-bin + conflicts = littlenavmap-bin + options = !strip + source = https://github.com/albar965/littlenavmap/releases/download/v2.6.7/LittleNavmap-linux-20.04-2.6.7.tar.gz + source = LittleNavmap.desktop + sha512sums = 144df6a3e6be28b46bd7c9ef3d3acf3cf1135e28d3bbd3424baa4b416b4673ab6dfc2af440a9889d800c0e706847733dba0ffdfd5d4a7038f7b96d569c9feb07 + sha512sums = d706e0ee77c714315b3fae1da46633680bf345250fa5561f07c6b1c5445e56897dcae51e5ecf5e493f9e99ae58abe038bf89e4df249323f86e6d7b1ad78befab + +pkgname = littlenavmap-bin + diff --git a/LittleNavmap.desktop b/LittleNavmap.desktop new file mode 100644 index 000000000000..53f4b04620c0 --- /dev/null +++ b/LittleNavmap.desktop @@ -0,0 +1,9 @@ +[Desktop Entry] +Type=Application +Exec=/opt/littlenavmap-bin/littlenavmap +Path=/opt/littlenavmap-bin/ +Name=Little Navmap +GenericName=Flight Planner +Icon=/opt/littlenavmap-bin/littlenavmap.svg +Terminal=false +Categories=Application;Game; diff --git a/PKGBUILD b/PKGBUILD new file mode 100644 index 000000000000..46d9fcbcbd5b --- /dev/null +++ b/PKGBUILD @@ -0,0 +1,32 @@ +# Maintainer: Dustin Childers <dchilders@gmail.com> + +pkgname=littlenavmap-bin +pkgver=2.6.7 +pkgrel=1 +pkgdesc="A Free Open Source Flight Planner, Navigation Tool, Moving Map, Airport Search, and Airport Information System for Flight Simulator X, Prepar3D, Microsoft Flight Simulator 2020, and X-Plane" +license=('GPL3') +provides=('littlenavmap-bin') +conflicts=('littlenavmap-bin') +arch=('x86_64') +url="https://albar965.github.io/littlenavmap.html" +depends=('glibc' 'gcc-libs' 'glib2' 'pcre' 'libx11' 'libxau' 'libxcb' 'libxdmcp' 'libglvnd' 'gtk3' 'qt5-declarative' 'qt5-svg') +options=(!strip) +_desktop_name=LittleNavmap.desktop +_filename=LittleNavmap-linux-20.04-${pkgver}.tar.gz +source=( + https://github.com/albar965/littlenavmap/releases/download/v${pkgver}/${_filename} + LittleNavmap.desktop +) +sha512sums=( + 144df6a3e6be28b46bd7c9ef3d3acf3cf1135e28d3bbd3424baa4b416b4673ab6dfc2af440a9889d800c0e706847733dba0ffdfd5d4a7038f7b96d569c9feb07 + d706e0ee77c714315b3fae1da46633680bf345250fa5561f07c6b1c5445e56897dcae51e5ecf5e493f9e99ae58abe038bf89e4df249323f86e6d7b1ad78befab +) + +package() { + install -d "${pkgdir}/opt/${pkgname}" + install -d "${pkgdir}/usr/bin" + install -d "${pkgdir}/usr/share/applications" + cp -r "${srcdir}/Little Navmap/." "${pkgdir}/opt/${pkgname}" + ln -s "/opt/${pkgname}/littlenavmap" "${pkgdir}/usr/bin/littlenavmap" + install -Dm0644 ${srcdir}/${_desktop_name} "${pkgdir}/usr/share/applications/${_desktop_name}" +} |