diff options
Diffstat (limited to 'community/garmindev')
-rw-r--r-- | community/garmindev/51-garmin.rules | 1 | ||||
-rw-r--r-- | community/garmindev/PKGBUILD | 39 | ||||
-rw-r--r-- | community/garmindev/garmindev.changelog | 8 | ||||
-rw-r--r-- | community/garmindev/garmindev.install | 8 |
4 files changed, 56 insertions, 0 deletions
diff --git a/community/garmindev/51-garmin.rules b/community/garmindev/51-garmin.rules new file mode 100644 index 000000000..0ef61bd32 --- /dev/null +++ b/community/garmindev/51-garmin.rules @@ -0,0 +1 @@ +ATTR{idVendor}=="091e", ATTR{idProduct}=="0003", GROUP="uucp", MODE="660" diff --git a/community/garmindev/PKGBUILD b/community/garmindev/PKGBUILD new file mode 100644 index 000000000..cac38b54a --- /dev/null +++ b/community/garmindev/PKGBUILD @@ -0,0 +1,39 @@ +# $Id: PKGBUILD 58914 2011-11-20 11:01:56Z jlichtblau $ +# Maintainer: Jaroslav Lichtblau <dragonlord@aur.archlinux.org> +# Contributor: Matthias Maennich <arch@maennich.net> + +pkgname=garmindev +pkgver=0.3.4 +pkgrel=5 +pkgdesc="Garmin Device Drivers for QlandkarteGT" +arch=('i686' 'x86_64') +url="http://www.qlandkarte.org/" +license=('GPL') +depends=('libusb') +makedepends=('cmake') +changelog=$pkgname.changelog +install=$pkgname.install +source=(http://downloads.sourceforge.net/qlandkartegt/$pkgname-$pkgver.tar.gz \ + 51-garmin.rules) +sha256sums=('86c38f65ba1a05c5d5eb076107094cb789db6ffc5d80bfd7bb209d645bcf87d5' + '0196ae234c0daf97afb9f4af6fdc04c2af77bb742233731870ba8cfc6ae5a7d7') + +build() { + cd ${srcdir}/$pkgname-$pkgver + + install -d ${srcdir}/$pkgname-$pkgver/build + cd ${srcdir}/$pkgname-$pkgver/build + + cmake -DCMAKE_INSTALL_PREFIX=/usr .. + make +} + +package(){ + cd ${srcdir}/$pkgname-$pkgver/build + + make DESTDIR=${pkgdir} install + +#ChangeLog and example udev rule + install -D -m644 ../changelog.txt ${pkgdir}/usr/share/$pkgname/CHANGELOG + install -D -m644 ${srcdir}/51-garmin.rules ${pkgdir}/usr/share/$pkgname/51-garmin.rules +} diff --git a/community/garmindev/garmindev.changelog b/community/garmindev/garmindev.changelog new file mode 100644 index 000000000..ef19de70d --- /dev/null +++ b/community/garmindev/garmindev.changelog @@ -0,0 +1,8 @@ +2011-11-20 Jaroslav Lichtblau <dragonlord@aur.archlinux.org> + * garmindev 0.3.4-5 + * udev rule updated for Linux 3.1.1 + +2011-02-05 Jaroslav Lichtblau <dragonlord@aur.archlinux.org> + * garmindev 0.3.4-3 + * moved to [community] with 33 AUR votes + * see /usr/share/garmindev/CHANGELOG for feature changes diff --git a/community/garmindev/garmindev.install b/community/garmindev/garmindev.install new file mode 100644 index 000000000..691e9370d --- /dev/null +++ b/community/garmindev/garmindev.install @@ -0,0 +1,8 @@ +post_install() { +cat << EOF +Note: +==> In case you experience access permission error for the attached Garmin GPS device, +==> see http://wiki.openstreetmap.org/wiki/USB_Garmin_on_GNU/Linux for more details. +==> Disable garmin_gps module in /etc/rc.conf and see included example udev rule. +EOF +} |