# Maintainer: Aaron Rogers pkgname="obd-auto-doctor" pkgver="3.3.0" pkgrel="1" pkgdesc="obd scan and diagnostics" arch=('i686' 'x86_64') url="http://www.obdautodoctor.com/" license=('LGPL3') source_i686=("http://cdn.obdautodoctor.com/${pkgname}_${pkgver}_i386.tar.gz") source_x86_64=("http://cdn.obdautodoctor.com/${pkgname}_${pkgver}_amd64.tar.gz") md5sums_i686=('3c6e90fb8d6658c4e74afee246bd4db8') md5sums_x86_64=('18d714dd60b145d1bba7fffe9cbab2c7') depends=("qt5-base>5.2") optdepends=("bluez: for bluetooth support") [[ "$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" }