summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 1f3ac3fd337c802a77f2fb6aca7e8e96e67776a3 (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
31
# Original Maintainer: Evan Teitelman <teitelmanevan@gmail.com>
# Maintainer: Andrew Rembrandt <andrew@rembrandt.me.uk>
# Contributor: Nathan Owe <ndowens.aur at gmail dot com>
# Contributor: Archie <Mymaud@gmail.com>

pkgname=garmintools
pkgver=0.10
pkgrel=5
pkgdesc="This software provides Linux users with the ability to communicate with the Garmin Forerunner 305 via the USB interface."
depends=('libusb-compat')
install="garmintools.install"
arch=('i686' 'x86_64')
license=('GPL')
source=("https://storage.googleapis.com/google-code-archive-downloads/v2/code.google.com/garmintools/$pkgname-$pkgver.tar.gz"
        "array-size.patch")
options=('!libtool')
url="http://code.google.com/p/garmintools/"
md5sums=('1a555a5174a82e92e0f5def1c4b01ae7'
         '9d6e627ec37afacc0783b8574e84bbf3')

build() {
  cd "$srcdir/$pkgname-$pkgver"
  patch -p0 -i "$srcdir/array-size.patch"
  ./configure --prefix=/usr
  make 
}

package() {
  cd "$srcdir/$pkgname-$pkgver"
  make "prefix=$pkgdir/usr" install
}