summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 163c3035f677cde3c422cc138c5033aa7118388c (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
# Maintainer: Aaron Rogers <aaron.kyle.rogers at gmail dot com>
pkgname="obd-auto-doctor"
pkgver="3.6.0"
pkgrel="1"
pkgdesc="obd scan and diagnostics"
arch=('i686' 'x86_64')
url="http://www.obdautodoctor.com/"
license=('Proprietary')

source_i686=("http://cdn.obdautodoctor.com/${pkgname}_${pkgver}_i386.tar.gz")
source_x86_64=("http://cdn.obdautodoctor.com/${pkgname}_${pkgver}_amd64.tar.gz")

depends=("qt5-base>=5.9.5")
optdepends=("bluez: for bluetooth support" "bluez-libs")

[[ "$CARCH" = "i686" ]] && _parch='i386'
[[ "$CARCH" = "x86_64" ]] && _parch='amd64'

package() {
	cd "$srcdir/obdautodoctor"
	install -D -m755 "./obdautodoctor" "${pkgdir}/usr/bin/obdautodoctor"
	
	install -D -m644 "./obdautodoctor.desktop" "${pkgdir}/usr/share/applications/obdautodoctor.desktop"
	install -D -m644 "./obdautodoctor.png" "${pkgdir}/usr/share/pixmaps/obdautodoctor.png"

	install -D -m644 "./license.txt" "${pkgdir}/usr/share/licenses/obdautodoctor/LICENSE"
}

md5sums_i686=('f83b9ae3f9289954a10fdb05611d1e7d')
md5sums_x86_64=('1e108c1fc1e65d4d260b4c82c259e006')