summaryrefslogtreecommitdiff
path: root/community/stfl/PKGBUILD
blob: 2ef02256a02896eb9b84d2ac41596cba3ab2caad (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 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' '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)
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
}