blob: 70135b5791425ff9a2f52dd3e2abceeb2f0647b1 (
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
|
# Maintainer:
# Contributor: Fabio 'Lolix' Loli <fabio.loli@disroot.org>
# Contributor: Jozef Riha <jose1711 at gmail dot com>
pkgname=florb-git
pkgver=r170.81a2051
pkgrel=1
pkgdesc="simple FLTK powered map viewer and GPX editor"
url="https://github.com/4fury-c3440d8/florb"
arch=(x86_64 i686)
license=(MIT)
depends=(fltk yaml-cpp libxpm curl tinyxml2 boost-libs gpsd)
makedepends=(omake gendesk git boost translate-toolkit python-cwcwidth)
optdepends=(gpsbabel)
provides=(florb)
conflicts=(florb)
sha256sums=('SKIP')
source=("git+https://github.com/4fury-c3440d8/florb.git")
pkgver() {
cd florb/src
printf "r%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)"
}
build() {
cd florb/src
gendesk -f -n --pkgname florb --exec florb --pkgdesc "$pkgdesc" --categories 'Utility;Maps'
omake
omake i18nupdate
omake i18ncompile
}
package() {
cd florb
install -D LICENSE.txt -t "${pkgdir}/usr/share/licenses/${pkgname}"
cd src
omake PREFIX=${pkgdir}/usr install
install -Dm644 florb.desktop "${pkgdir}/usr/share/applications/florb.desktop"
install -D res/florb.svg "${pkgdir}/usr/share/pixmaps/florb.svg"
install -D res/florb.png "${pkgdir}/usr/share/pixmaps/florb.png"
}
|