blob: 383405201c9eb2ddb0be83191e3f56c79439932a (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
|
# Contributor: Sören Tempel <soeren+alpine@soeren-tempel.net>
# Maintainer: Sören Tempel <soeren+alpine@soeren-tempel.net>
pkgname=picocom
pkgver=2.1
pkgrel=1
pkgdesc="Minimal dumb-terminal emulation program"
url="https://github.com/npat-efault/picocom"
arch="all"
license="GPL2"
depends=""
makedepends=""
install=""
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" || return 1
}
package() {
install -Dm755 "$builddir"/$pkgname \
"$pkgdir"/usr/bin/$pkgname || return 1
install -Dm644 "$builddir"/$pkgname.1 \
"$pkgdir"/usr/share/man/man1/$pkgname.1 || return 1
local file=
for file in CONTRIBUTORS README.md TODO; do
install -Dm644 "$builddir"/$file \
"$pkgdir"/usr/share/doc/$pkgname/$file || return 1
done
}
md5sums="7cae1424c1279f0f13dee5dcb3de3f45 picocom-2.1.tar.gz"
sha256sums="6b152fc5f816eaef6b86336a4cec7cf1496b7c712061e5aea5a36f143a0b09ed picocom-2.1.tar.gz"
sha512sums="0df692118e3cfa27edd8ff9d5abbde8a9dc02fb015476ab1469337d616eb69411db125a967107276fb50bc58e7b9748429b9ded4943712a082a10827d595c03e picocom-2.1.tar.gz"
|