# $Id: PKGBUILD 66195 2012-02-23 03:06:28Z spupykin $
# Contributor: Bartek Iwaniec <hash87 [at] gmail [dot] com>

pkgname=librtfcomp
pkgver=1.1
pkgrel=5
pkgdesc="SynCE librtfcomp library"
arch=(i686 x86_64)
license=('GPL')
url="http://www.synce.org/"
depends=(pyrex)
source=(http://downloads.sourceforge.net/synce/${pkgname}-${pkgver}.tar.gz)
md5sums=('b7f70dc41687d920ec9f47c01f56d6ce')

build() {

  cd ${srcdir}/${pkgname}-${pkgver}
  ./configure --prefix=/usr
  make
  make DESTDIR="${pkgdir}" install
#Remove the conflicting binary file (conflict with core-utils). I don't know any other workaround.
  rm ${pkgdir}/usr/bin/test
  cd ..

} 
