# Maintainer: fedefranc # Contributor: Stas Elensky # Contributor: honzor pkgname=libmodbus pkgver=3.1.10 pkgrel=1 pkgdesc="A Modbus library for Linux, Mac OS X, FreeBSD, QNX and Win32" arch=('i686' 'x86_64' 'arm' 'armv6h' 'armv7h' 'aarch64') url="https://libmodbus.org" license=('LGPL') groups=() depends=() makedepends=(asciidoc xmlto) optdepends=() provides=() conflicts=() replaces=() backup=() options=(!libtool) install= source=(https://github.com/stephane/libmodbus/releases/download/v$pkgver/libmodbus-$pkgver.tar.gz) md5sums=('fc0ebd18c30c290f1241ec49e84d4ca6') noextract=() build() { cd "$srcdir/$pkgname-$pkgver" autoreconf --install --symlink --force ./configure --prefix=/usr make } package() { cd "$srcdir/$pkgname-$pkgver" make DESTDIR="$pkgdir/" install } # vim:set ts=2 sw=2 et: