summaryrefslogtreecommitdiff
path: root/community/stfl/PKGBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'community/stfl/PKGBUILD')
-rw-r--r--community/stfl/PKGBUILD34
1 files changed, 34 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
+}