# Maintainer: Aaron Rogers pkgname="obd-auto-doctor" pkgver="2.0.4" pkgrel="3" 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=('7ff64d2f7f2439ed8d34b6939047cc6e') md5sums_x86_64=('6912b2eb04573fa3d1033614cb0eb632') 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" }