summaryrefslogtreecommitdiff
path: root/community/stfl/PKGBUILD
blob: 2bf1dda149894fe7ddffd4ba46267aaf2034aefa (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
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' 'mips64el')
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
}