summaryrefslogtreecommitdiff
path: root/community/stfl
diff options
context:
space:
mode:
authorParabola <dev@list.parabolagnulinux.org>2011-04-05 14:26:38 +0000
committerParabola <dev@list.parabolagnulinux.org>2011-04-05 14:26:38 +0000
commit415856bdd4f48ab4f2732996f0bae58595092bbe (patch)
treeede2018b591f6dfb477fe9341ba17b9bc000fab9 /community/stfl
Tue Apr 5 14:26:38 UTC 2011
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.changelog23
3 files changed, 81 insertions, 0 deletions
diff --git a/community/stfl/PKGBUILD b/community/stfl/PKGBUILD
new file mode 100644
index 000000000..c972edb2d
--- /dev/null
+++ b/community/stfl/PKGBUILD
@@ -0,0 +1,34 @@
+# $Id: PKGBUILD 40783 2011-02-27 01:50:59Z allan $
+# Maintainer: Jaroslav Lichtblau <dragonlord@aur.archlinux.org>
+# Contributor: Sven Pfleiderer <pfleidi@roothausen.de>
+
+pkgname=stfl
+pkgver=0.21
+pkgrel=3
+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)
+md5sums=('888502c3f332a0ee66e490690d79d404'
+ 'a6231f269038c76a54fd08d6417f3d6d')
+
+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..ff03a6817
--- /dev/null
+++ b/community/stfl/stfl.changelog
@@ -0,0 +1,23 @@
+2010-03-25 Jaroslav Lichtblau <dragonlord@aur.archlinux.org>
+ * FS#18210 - [stfl] no language bindings without swig fixed in 0.2.1-2
+
+2009-07-11 Jaroslav Lichtblau <dragonlord@aur.archlinux.org>
+ * Update to major release 0.2.1
+
+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)