blob: 8a8f252eda2843a6903b9ac1d0d2e736029307b0 (
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
|
# Maintainer: Donald Webster <fryfrog@gmail.com>
pkgname=adsbexchange-stats-git
_gitname=adsbexchange-stats
pkgver=r146.11647f2
pkgrel=1
pkgdesc="ADSBexchange.com Statistics."
arch=('x86_64' 'armv6h' 'armv7h' 'aarch64')
url="https://github.com/adsbexchange/adsbexchange-stats"
license=('GPL3')
depends=('readsb' 'curl' 'jq' 'inotify-tools' 'gzip')
makedepends=('git')
source=('adsbexchange-stats::git+https://github.com/adsbexchange/adsbexchange-stats'
'adsbexchange-stats.service')
sha256sums=('SKIP'
'622b2c0c9e6a822b76ad5a77bbb23b320ee113d9e6ee71db08eb3cdb8e72dde6')
pkgver() {
cd "${srcdir}/${_gitname}"
printf "r%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)"
}
package() {
install -D -m 755 "${srcdir}/${_gitname}/json-status" "${pkgdir}/usr/bin/adsbexchange-stats"
install -D -m 755 "${srcdir}/${_gitname}/adsbexchange-showurl" "${pkgdir}/usr/bin/adsbexchange-showurl"
install -D -m 644 adsbexchange-stats.service "${pkgdir}/usr/lib/systemd/system/adsbexchange-stats.service"
}
|