diff options
Diffstat (limited to 'community/tinyserial')
-rw-r--r-- | community/tinyserial/PKGBUILD | 24 |
1 files changed, 24 insertions, 0 deletions
diff --git a/community/tinyserial/PKGBUILD b/community/tinyserial/PKGBUILD new file mode 100644 index 000000000..e458ed875 --- /dev/null +++ b/community/tinyserial/PKGBUILD @@ -0,0 +1,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 +} |