summaryrefslogtreecommitdiff
path: root/community/tvision/PKGBUILD
blob: 0d765f31bb1776b61df15aa1183982e4a87877b3 (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
# $Id: PKGBUILD 23701 2010-08-14 23:06:10Z spupykin $
# Maintainer: Sergej Pupykin <pupykin.s+arch@gmail.com>
# Contributor: Sergej Pupykin <pupykin.s+arch@gmail.com>

pkgname=tvision
pkgver=2.2.1_r1
pkgrel=1
pkgdesc="turbo vision library port (console interface)"
arch=(i686 x86_64 'mips64el')
url="http://tvision.sourceforge.net"
license=("GPL")
depends=(gpm gcc-libs libxmu allegro)
options=('!makeflags')
source=("http://downloads.sourceforge.net/project/tvision/UNIX/2.2.1%20CVS20100714%20Source%20and%20Debian%205.0/rhtvision_${pkgver/_r/-}.tar.gz"
	tvision-build-fix.patch)
md5sums=('46b815d86bbbb2f9b112b11f63e2f5a6'
         'e24e3520bd7c6beb441716b8998b4c64')

build() {
  cd $srcdir/$pkgname

  patch -p1 <$srcdir/tvision-build-fix.patch

  ./configure --prefix=/usr --include=/usr/include
  make || return 1
  make prefix=$pkgdir/usr install
}