Date: Tuesday, July 7, 2020 @ 16:03:50 Author: felixonmars Revision: 659085
archrelease: copy trunk to community-staging-x86_64 Added: libserialport/repos/community-staging-x86_64/ libserialport/repos/community-staging-x86_64/PKGBUILD (from rev 659084, libserialport/trunk/PKGBUILD) ----------+ PKGBUILD | 29 +++++++++++++++++++++++++++++ 1 file changed, 29 insertions(+) Copied: libserialport/repos/community-staging-x86_64/PKGBUILD (from rev 659084, libserialport/trunk/PKGBUILD) =================================================================== --- community-staging-x86_64/PKGBUILD (rev 0) +++ community-staging-x86_64/PKGBUILD 2020-07-07 16:03:50 UTC (rev 659085) @@ -0,0 +1,29 @@ +# Maintainer: Anatol Pomozov +# Maintainer: Filipe LaĆns (FFY00) <la...@archlinux.org> +# Contributor: Thomas Krug <t.k...@elektronenpumpe.de> + +pkgname=libserialport +pkgver=0.1.1 +pkgrel=4 +pkgdesc='A minimal library that provides OS abstraction when interfacing serial ports' +arch=('x86_64') +url='https://sigrok.org/wiki/Libserialport' +license=('GPL3') +depends=('glibc') +source=("https://sigrok.org/download/source/libserialport/libserialport-$pkgver.tar.gz") +sha512sums=('7d379d1099173841e6d4df04c8c12dc6a4ebdfa0323ef35da6f3dea20db55d4f6ad81c1f6679f5aac7fe83270176428a817daa8627c336505335a07e06350a85') + +build() { + cd $pkgname-$pkgver + + ./configure --prefix=/usr + + make +} + +package() { + cd $pkgname-$pkgver + + make DESTDIR="$pkgdir" install +} +