summarylogtreecommitdiffstats
path: root/PKGBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'PKGBUILD')
-rw-r--r--PKGBUILD11
1 files changed, 4 insertions, 7 deletions
diff --git a/PKGBUILD b/PKGBUILD
index 608b15ee2c3..34ba554700d 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -9,17 +9,14 @@ 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"
-"${pkgname%%-*}.service")
+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"
- install -m644 "${srcdir}/traccar.service" "${pkgdir}/usr/lib/systemd/system/"
- install -m755 -d "${pkgdir}/opt/traccar/init.d"
- chmod 755 -R $pkgdir/opt/*
+ mv "${pkgdir}/opt/traccar/traccar.service" "${pkgdir}/usr/lib/systemd/system/"
+ chmod 755 -R $pkgdir/opt
}
-md5sums=('c1a640673052a99aff4956b90a23ab47'
-'3e230b1b98fb5d0ae71ee08ab96a7c92')
+md5sums=('c1a640673052a99aff4956b90a23ab47')