summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 0419158463a1ada98c0d080412c7d2b4e2f17627 (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
# Maintainer: Jonathan Hudson <jh+w1retap@daria.co.uk>
pkgname=w1retap
pkgver=1.4.3
pkgrel=3
pkgdesc="one wire weather station data acquisition to RDBMS"
arch=('x86_64' 'i686' 'ppc' 'arm' 'armv6h')
url="https://sourceforge.net/projects/w1retap/"
license=('GPL')
depends=('libusb-compat' 'glib2')
optdepends=('libxml2' 'unixodbc' 'postgresql-libs' 'libmysqlclient' 'sqlite3' 'libmongo-client-git')
source=(https://sourceforge.net/projects/w1retap/files/latest/download/$pkgname-$pkgver.tar.xz)
md5sums=('f0b8a200ad39d4bec2a42b203f1f277b')

build() {
 cd "$pkgname-$pkgver"
  ./configure --prefix=/usr --sysconfdir=/etc
  make || return 1
}


package() {
 cd "$pkgname-$pkgver"
 make DESTDIR="$pkgdir" install
}


# vim:set ts=2 sw=2 et: