aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMattias Andrée <maandree@operamail.com>2013-04-11 02:14:50 +0200
committerMattias Andrée <maandree@operamail.com>2013-04-11 02:14:50 +0200
commita363db18ecf4877c8fb7713961debd5741ebc7d7 (patch)
tree73eb2b458f1cae4b2fe4f2b95fe27fc6f1665480
parentA working version of blender-blam (diff)
downloadaur-packages-a363db18ecf4877c8fb7713961debd5741ebc7d7.tar.gz
aur-packages-a363db18ecf4877c8fb7713961debd5741ebc7d7.tar.bz2
aur-packages-a363db18ecf4877c8fb7713961debd5741ebc7d7.tar.xz
m + syncterm
Signed-off-by: Mattias Andrée <maandree@operamail.com>
-rwxr-xr-xemacs-clojure-mode-git/watch2
-rw-r--r--syncterm/PKGBUILD23
-rwxr-xr-xsyncterm/watch21
3 files changed, 45 insertions, 1 deletions
diff --git a/emacs-clojure-mode-git/watch b/emacs-clojure-mode-git/watch
index ae058d9..eb2b51d 100755
--- a/emacs-clojure-mode-git/watch
+++ b/emacs-clojure-mode-git/watch
@@ -2,7 +2,7 @@
[ -f tags ] && rm tags
-wget 'https://github.com/technomancy/clojure-mode/tags' -O - | grep tag-name | grep -Po '>.*</' > tags 2>/dev/null
+wget 'https://github.com/technomancy/clojure-mode/tags' -O - 2>/dev/null | grep tag-name | grep -Po '>.*</' > tags
if [ $? = 0 ]; then
[ -f unfetchable ] && rm unfetchable
diff --git a/syncterm/PKGBUILD b/syncterm/PKGBUILD
new file mode 100644
index 0000000..62d8179
--- /dev/null
+++ b/syncterm/PKGBUILD
@@ -0,0 +1,23 @@
+# Maintainer: Mattias Andrée <`base64 -d`(bWFhbmRyZWUK)@member.fsf.org>
+pkgname=syncterm
+pkgver=0.9.5b
+pkgrel=1
+pkgdesc="A BBS terminal program."
+url="http://syncterm.bbsdev.net"
+license='GPL'
+depends=('ncurses')
+options=(!buildflags)
+arch=('i686' 'x86_64')
+source=(http://syncterm.bbsdev.net/syncterm-src.tgz)
+md5sums=('7225918037976da8550490676165c9d0')
+
+build() {
+ cd "$srcdir/syncterm-"*
+ cd "src/syncterm/"
+ make PREFIX="/usr"
+}
+
+package() {
+ make PREFIX="$pkgdir/usr" install
+}
+
diff --git a/syncterm/watch b/syncterm/watch
new file mode 100755
index 0000000..c427d98
--- /dev/null
+++ b/syncterm/watch
@@ -0,0 +1,21 @@
+#!/bin/sh
+
+[ -f release ] && rm release
+
+wget http://syncterm.bbsdev.net -O - 2>/dev/null | grep "syncterm-src.tgz" > release
+
+if [ $? = 0 ]; then
+ [ -f unfetchable ] && rm unfetchable
+ md5sum release > new-sum
+ touch sum
+ if [ "$(cat sum)" = "$(cat new-sum)" ]; then
+ rm new-sum
+ else
+ mv new-sum sum
+ echo 'syncterm'
+ fi
+elif [ ! -f unfetchable ]; then
+ touch unfetchable
+ echo 'syncterm (unfetchable)'
+fi
+