summaryrefslogtreecommitdiff
path: root/community/stfl
diff options
context:
space:
mode:
Diffstat (limited to 'community/stfl')
-rw-r--r--community/stfl/PKGBUILD34
-rw-r--r--community/stfl/stfl-archlinux.patch24
-rw-r--r--community/stfl/stfl.changelog26
3 files changed, 84 insertions, 0 deletions
diff --git a/community/stfl/PKGBUILD b/community/stfl/PKGBUILD
new file mode 100644
index 000000000..49fcd40db
--- /dev/null
+++ b/community/stfl/PKGBUILD
@@ -0,0 +1,34 @@
+# $Id: PKGBUILD 66465 2012-02-25 04:40:20Z jlichtblau $
+# Maintainer: Jaroslav Lichtblau <dragonlord@aur.archlinux.org>
+# Contributor: Sven Pfleiderer <pfleidi@roothausen.de>
+
+pkgname=stfl
+pkgver=0.22
+pkgrel=1
+pkgdesc="Library implementing a curses-based widget set for text terminals"
+arch=('i686' 'x86_64')
+url="http://clifford.at/stfl/"
+license=('GPL3')
+depends=('ncurses')
+makedepends=('patch' 'swig')
+options=('!libtool')
+changelog=$pkgname.changelog
+source=(http://clifford.at/stfl/$pkgname-$pkgver.tar.gz \
+ $pkgname-archlinux.patch)
+sha256sums=('2dddafd331e61ad04baf1251ccecb3a69feaf99880dd75155be8423c1cc55418'
+ 'c7d7c787bcd287a776aad3b26e6a90a3b121c281125c34c7c35a87f36dcdc453')
+
+build() {
+ cd ${srcdir}/$pkgname-$pkgver
+
+ patch -Np1 -i ${srcdir}/$pkgname-archlinux.patch
+
+ make prefix=/usr Makefile.deps
+ make prefix=/usr
+}
+
+package() {
+ cd ${srcdir}/$pkgname-$pkgver
+
+ make prefix=/usr DESTDIR=${pkgdir} install
+}
diff --git a/community/stfl/stfl-archlinux.patch b/community/stfl/stfl-archlinux.patch
new file mode 100644
index 000000000..df818299a
--- /dev/null
+++ b/community/stfl/stfl-archlinux.patch
@@ -0,0 +1,24 @@
+diff -ruN0 stfl-0.21-orig//Makefile.cfg stfl-0.21/Makefile.cfg
+--- stfl-0.21-orig//Makefile.cfg 2009-05-31 20:20:39.000000000 +0200
++++ stfl-0.21/Makefile.cfg 2010-03-25 20:01:19.000000000 +0100
+@@ -22 +22 @@
+-export prefix ?= /usr/local
++export prefix ?= /usr
+@@ -26 +26 @@
+-FOUND_SPL = 1
++FOUND_SPL = 0
+@@ -38 +38 @@
+-FOUND_PERL5 = 1
++FOUND_PERL5 = 0
+@@ -44 +44 @@
+-FOUND_PYTHON = 1
++FOUND_PYTHON = 0
+@@ -50 +50 @@
+-FOUND_RUBY = 1
++FOUND_RUBY = 0
+diff -ruN0 stfl-0.21-orig//stfl_internals.h stfl-0.21/stfl_internals.h
+--- stfl-0.21-orig//stfl_internals.h 2009-06-19 19:27:33.000000000 +0200
++++ stfl-0.21/stfl_internals.h 2010-03-25 20:00:52.000000000 +0100
+@@ -31 +31 @@
+-#include <ncursesw/ncurses.h>
++#include <ncurses.h>
diff --git a/community/stfl/stfl.changelog b/community/stfl/stfl.changelog
new file mode 100644
index 000000000..b72f673ed
--- /dev/null
+++ b/community/stfl/stfl.changelog
@@ -0,0 +1,26 @@
+2012-02-25 Jaroslav Lichtblau <dragonlord@aur.archlinux.org>
+ * stfl 0.22-1
+
+2010-03-25 Jaroslav Lichtblau <dragonlord@aur.archlinux.org>
+ * FS#18210 - [stfl] no language bindings without swig fixed in 0.21-2
+
+2009-07-11 Jaroslav Lichtblau <dragonlord@aur.archlinux.org>
+ * Update to major release 0.21
+
+2009-06-21 Jaroslav Lichtblau <dragonlord@aur.archlinux.org>
+ * Package moved to [community]
+
+2009-05-02 by pfleidi
+ * update to 0.20
+
+2008-02-09 by hrist
+ * update to 0.18
+
+2008-01-04 by hrist
+ * fixed the make command invocation (thanks to byte for the hint)
+
+2007-09-28 by hrist
+ * removed the patch (thanks to xio for the hint)
+
+2007-06-01 by STiAT
+ * made package build (patchfile global_stfl.patch)