summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 0ab00607d0bad7a8aafb1df1f39fe19a9a9efe96 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
# Maintainer: robertfoster
# Contributor: kehon

pkgname=traccar-bin
pkgver=4.10
pkgrel=1
pkgdesc="Open source GPS tracking system"
arch=('i686' 'x86_64')
url="http://www.traccar.org/"
license=('APACHE')
depends=(java-runtime)
source=("https://github.com/tananaev/traccar/releases/download/v${pkgver}/${pkgname%%-*}-linux-64-$pkgver.zip")

package() {
	cd ${srcdir}
	./traccar.run --noexec --target $pkgdir/opt/traccar/
	install -m755 -d "${pkgdir}/usr/lib/systemd/system"
	mv "${pkgdir}/opt/traccar/traccar.service" "${pkgdir}/usr/lib/systemd/system/"
	chmod 755 -R $pkgdir/opt
}

md5sums=('e98eb4d4d586639ba83ab4e6ae77229f')