summaryrefslogtreecommitdiffstats
path: root/stfl/PKGBUILD
blob: ad962de26875cc78aa687d84d9208c93245d88a0 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
# Contributor: Sven Pfleiderer <pfleidi@roothausen.de>
pkgname=stfl
pkgver=0.20
pkgrel=1
pkgdesc="It's a library which implements a curses-based widget set for text terminals."
url="http://clifford.at/stfl/"
license=('GPL')
depends=('ncurses')
arch=('i686' 'x86_64')
options=('!libtool')
source=(http://clifford.at/stfl/$pkgname-$pkgver.tar.gz stfl-archlinux.patch)
md5sums=('905e0b8f81fe1b5c95b8d78f56df966b' '075895965f877ac1718096760dcd1e3f')

build() {
  cd $startdir/src/$pkgname-$pkgver
  patch -p0 < $startdir/stfl-archlinux.patch || return 1
  make prefix=/usr Makefile.deps || return 1
  make prefix=/usr || return 1
  make prefix=/usr DESTDIR=$startdir/pkg install
}