summaryrefslogtreecommitdiff
path: root/community/tinyserial/PKGBUILD
diff options
context:
space:
mode:
authorNicolás Reynolds <fauno@endefensadelsl.org>2014-05-06 03:44:20 +0000
committerNicolás Reynolds <fauno@endefensadelsl.org>2014-05-06 03:44:20 +0000
commit58ee2a8b8164437294a44a627d05ee1c701ced57 (patch)
tree8b37bc17534883a0f5e7edb57b2a9301d4b41d92 /community/tinyserial/PKGBUILD
parentd7918d0226da2805ff09c48963d2c79e1327c630 (diff)
Tue May 6 03:39:24 UTC 2014
Diffstat (limited to 'community/tinyserial/PKGBUILD')
-rw-r--r--community/tinyserial/PKGBUILD24
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
+}