PKGBUILDs/community/stfl/PKGBUILD
2009-10-09 21:15:33 -05:00

29 lines
825 B
Bash

# $Id: PKGBUILD 82 2009-07-17 19:56:55Z aaron $
# Maintainer: Jaroslav Lichtblau <dragonlord@aur.archlinux.org>
# Contributor: Sven Pfleiderer <pfleidi@roothausen.de>
pkgname=stfl
pkgver=0.21
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')
options=('!libtool')
source=(http://clifford.at/stfl/$pkgname-$pkgver.tar.gz \
$pkgname-archlinux.patch)
md5sums=('888502c3f332a0ee66e490690d79d404'
'bbc40519b3e2ad0bb67fa7d29053cb47')
build() {
cd ${srcdir}/$pkgname-$pkgver
patch -Np1 -i ${srcdir}/$pkgname-archlinux.patch || return 1
make prefix=/usr Makefile.deps || return 1
make prefix=/usr || return 1
make prefix=/usr DESTDIR=${pkgdir} install
}