diff options
Diffstat (limited to 'community/librtfcomp')
-rw-r--r-- | community/librtfcomp/PKGBUILD | 26 |
1 files changed, 26 insertions, 0 deletions
diff --git a/community/librtfcomp/PKGBUILD b/community/librtfcomp/PKGBUILD new file mode 100644 index 000000000..a7b5355d5 --- /dev/null +++ b/community/librtfcomp/PKGBUILD @@ -0,0 +1,26 @@ +# $Id: PKGBUILD 88520 2013-04-19 10:31:06Z spupykin $ +# Contributor: Bartek Iwaniec <hash87 [at] gmail [dot] com> + +pkgname=librtfcomp +pkgver=1.2 +pkgrel=1 +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=('cdff301ff346905595d0bb6efd432850') + +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 +} |