summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorjose17112018-08-24 07:55:58 +0200
committerjose17112018-08-24 07:55:58 +0200
commit392e6b8e5d5d82b0a6ef385ec10d5575658bc7f4 (patch)
tree9f3c0565269022e1b98b7f7e1501c33e4fc2e8be
parent8bc36c0bd407345173a2fd717a80754f6974316c (diff)
downloadaur-392e6b8e5d5d82b0a6ef385ec10d5575658bc7f4.tar.gz
PKGBUILD cleanup
-rw-r--r--.SRCINFO6
-rw-r--r--PKGBUILD29
2 files changed, 15 insertions, 20 deletions
diff --git a/.SRCINFO b/.SRCINFO
index d139f83bf28d..de9c97259b56 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,9 +1,9 @@
# Generated by mksrcinfo v8
-# Thu Aug 23 21:40:46 UTC 2018
+# Fri Aug 24 05:55:56 UTC 2018
pkgbase = routeconverter
- pkgdesc = A free tool to edit and convert routes, tracks and waypoints.
+ pkgdesc = A free tool to edit and convert routes, tracks and waypoints
pkgver = 2.24
- pkgrel = 1
+ pkgrel = 2
url = http://www.routeconverter.de/en
changelog = ChangeLog
arch = i686
diff --git a/PKGBUILD b/PKGBUILD
index 0c3d43e42f56..2ee4a8b10ae2 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -1,10 +1,11 @@
# Maintainer: Jose Riha <jose1711 gmail com>
# Contributor: Alexander 'hatred' Drozdov <adrozdoff@gmail.com>
+# Contributor: willemw
pkgname=routeconverter
pkgver=2.24
-pkgrel=1
-pkgdesc="A free tool to edit and convert routes, tracks and waypoints."
+pkgrel=2
+pkgdesc="A free tool to edit and convert routes, tracks and waypoints"
arch=('i686' 'x86_64')
url="http://www.routeconverter.de/en"
license=('GPL')
@@ -22,21 +23,15 @@ noextract=(RouteConverterCmdLine.jar
package()
{
- cd "$srcdir"
-
- install -m 755 -o root -g root -d ${pkgdir}/usr/bin
- install -m 755 -o root -g root -d ${pkgdir}/usr/lib/${pkgname}
- install -m 755 -o root -g root \
- ${srcdir}/routeconverter \
- ${srcdir}/routeconverter-cli \
- ${pkgdir}/usr/bin/
- install -m 644 -o root -g root \
- ${srcdir}/RouteConverterCmdLine.jar \
- ${pkgdir}/usr/lib/${pkgname}/
- install -m 644 -o root -g root \
- ${srcdir}/RouteConverterLinux.jar \
- ${pkgdir}/usr/lib/${pkgname}/ || true
-
+ install -m755 -d "${pkgdir}/usr/bin"
+ install -m755 -d "${pkgdir}/usr/lib/${pkgname}"
+ install -m755 "${srcdir}/routeconverter" \
+ "${srcdir}/routeconverter-cli" \
+ "${pkgdir}/usr/bin/"
+ install -m644 "${srcdir}/RouteConverterCmdLine.jar" \
+ "${pkgdir}/usr/lib/${pkgname}/"
+ install -m644 "${srcdir}/RouteConverterLinux.jar" \
+ "${pkgdir}/usr/lib/${pkgname}/"
}
md5sums=('e4cdc9db82a9f8c550afb44f851d897f'