# Contributor: Sören Tempel # Maintainer: Sören Tempel pkgname=picocom pkgver=3.0 pkgrel=0 pkgdesc="Minimal dumb-terminal emulation program" url="https://github.com/npat-efault/picocom" arch="all" license="GPL-2.0" depends="" makedepends="" install="" options="!check" # upstream doesn't have a test suite. subpackages="$pkgname-doc" source="$pkgname-$pkgver.tar.gz::https://github.com/npat-efault/${pkgname}/archive/${pkgver}.tar.gz" builddir="$srcdir"/$pkgname-$pkgver build() { make CFLAGS="$CFLAGS" LDFLAGS="$LDFLAGS" \ -C "$builddir" } package() { install -Dm755 "$builddir"/$pkgname \ "$pkgdir"/usr/bin/$pkgname install -Dm644 "$builddir"/$pkgname.1 \ "$pkgdir"/usr/share/man/man1/$pkgname.1 local file= for file in CONTRIBUTORS README.md TODO lowerrts.md; do install -Dm644 "$builddir"/$file \ "$pkgdir"/usr/share/doc/$pkgname/$file done } sha512sums="3c22a7638be63cffcc3191479bd442a142e9b3d85815a000fa7ad7e04a4314f07331931d8f240f226ddb02dd15c79cd4fda98fc907629ad34820d481eb690bf0 picocom-3.0.tar.gz"