diff options
Diffstat (limited to 'community/stfl/PKGBUILD')
-rw-r--r-- | community/stfl/PKGBUILD | 34 |
1 files changed, 34 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 +} |