1 # This is an example PKGBUILD file. Use this as a start to creating your own,
2 # and remove these comments. For more information, see 'man PKGBUILD'.
3 # NOTE: Please fill out the license field for your package! If it is unknown,
4 # then please put 'unknown'.
6 # Contributor: Your Name <youremail@domain.com>
10 pkgdesc="A Modbus library for Linux (and OSX) wrote in C and which supports RTU and TCP communications."
11 arch=('i686' 'x86_64')
12 url="https://libmodbus.org"
24 source=(https://github.com/downloads/stephane/libmodbus/libmodbus-$pkgver.tar.gz)
26 md5sums=('7ad8afbd02a7a2afd70c5bb7271a593b')
29 cd "$srcdir/libmodbus-$pkgver"
30 ./configure --prefix=/usr
32 make DESTDIR="$pkgdir/" install
33 rm $pkgdir/usr/lib/*.la
36 # vim:set ts=2 sw=2 et: