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

27 lines
794 B
Bash

# $Id: PKGBUILD 3536 2009-10-05 09:28:02Z spupykin $
# Maintainer: Sergej Pupykin <pupykin.s+arch@gmail.com>
# Contributor: Sergej Pupykin <pupykin.s+arch@gmail.com>
pkgname=tvision
pkgver=2.1.0_r3
pkgrel=3
pkgdesc="turbo vision library port (console interface)"
arch=(i686 x86_64)
url="http://tvision.sourceforge.net"
license=("GPL")
depends=(gpm gcc-libs libxmu)
options=('!makeflags')
source=("http://prdownloads.sourceforge.net/tvision/rhtvision-${pkgver/_r/-}.src.tar.gz"
tvision-2.1.0-gcc4.patch)
md5sums=('ce152a3eaddde2875403da8b764d9e15'
'39f2128812a5e7695a5b88ae1cb41fb2')
build () {
cd $startdir/src/$pkgname
patch -p1 <$srcdir/tvision-2.1.0-gcc4.patch
./configure --prefix=/usr --include=/usr/include
make || return 1
make prefix=$startdir/pkg/usr install
}