blob: e458ed875e0dda44d97c7d7c26275d7210785e75 (
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
|
# Maintainer: Anatol Pomozov
# Contributor: Jens Adam (byte/jra) <jra@byte.cx>
pkgname=tinyserial
pkgver=20090305
pkgrel=2
pkgdesc="Small minicom replacement for accessing serial ports on Linux inspired by FreeBSD 'tip'"
url="http://brokestream.com/tinyserial.html"
license=(BSD)
arch=(i686 x86_64)
depends=(glibc)
source=(http://brokestream.com/com.c)
sha1sums=('720a3ec74eddd6799c0ca55ef50479a160a55b73')
build() {
gcc $CFLAGS $LDFLAGS -o com com.c
}
package() {
install -D com "$pkgdir"/usr/bin/com
sed -n '16,36p' com.c > license.txt
install -Dm644 license.txt "$pkgdir"/usr/share/licenses/tinyserial/license.txt
}
|