diff options
author | Stas Elensky | 2015-07-06 20:40:02 +0300 |
---|---|---|
committer | Stas Elensky | 2015-07-06 20:40:02 +0300 |
commit | 4dba5089c409c06d7c232561399711957cafd5b9 (patch) | |
tree | d1124340c78cfd020a6021e05e51893d90495a5f | |
download | aur-4dba5089c409c06d7c232561399711957cafd5b9.tar.gz |
Initial import
-rw-r--r-- | .SRCINFO | 16 | ||||
-rw-r--r-- | PKGBUILD | 38 |
2 files changed, 54 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO new file mode 100644 index 000000000000..6fa7f2efa36f --- /dev/null +++ b/.SRCINFO @@ -0,0 +1,16 @@ +pkgbase = libmodbus + pkgdesc = A Modbus library for Linux, Mac OS X, FreeBSD, QNX and Win32 + pkgver = 3.0.6 + pkgrel = 1 + url = http://libmodbus.org + arch = i686 + arch = x86_64 + license = LGPL + makedepends = asciidoc + makedepends = xmlto + options = !libtool + source = http://libmodbus.org/releases/libmodbus-3.0.6.tar.gz + md5sums = c80f88b6ca19cabc4ceffc195ca07771 + +pkgname = libmodbus + diff --git a/PKGBUILD b/PKGBUILD new file mode 100644 index 000000000000..4a88994e6370 --- /dev/null +++ b/PKGBUILD @@ -0,0 +1,38 @@ +# Contributor: Stas Elensky <stas-at-flexsys-dot-com-dot-ua> +# Contributor: honzor + +pkgname=libmodbus +pkgver=3.0.6 +pkgrel=1 +pkgdesc="A Modbus library for Linux, Mac OS X, FreeBSD, QNX and Win32" +arch=('i686' 'x86_64') +url="http://libmodbus.org" +license=('LGPL') +groups=() +depends=() +makedepends=(asciidoc xmlto) +optdepends=() +provides=() +conflicts=() +replaces=() +backup=() +options=(!libtool) +install= +source=(http://libmodbus.org/releases/libmodbus-$pkgver.tar.gz) +md5sums=('c80f88b6ca19cabc4ceffc195ca07771') +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: |