summaryrefslogtreecommitdiff
path: root/community/librtfcomp/PKGBUILD
blob: bef8b1e17ce543ed0e899c5b812596bf7fc31848 (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
# $Id: PKGBUILD 96043 2013-08-19 12:12:47Z spupykin $
# Contributor: Bartek Iwaniec <hash87 [at] gmail [dot] com>

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

build() {
  cd ${srcdir}/${pkgname}-${pkgver}
  ./configure --prefix=/usr
  make
}

package() {
  cd ${srcdir}/${pkgname}-${pkgver}
  make DESTDIR="${pkgdir}" install
  install -dm0755 $pkgdir/usr/bin
  install -m0755 tests/{to,from}rtf $pkgdir/usr/bin
}