From 1f9776d421ac40faa59f797893033e99e4f919eb Mon Sep 17 00:00:00 2001 From: root Date: Sat, 20 Apr 2013 01:29:42 -0700 Subject: Sat Apr 20 01:28:56 PDT 2013 --- community/librtfcomp/PKGBUILD | 21 +++++++++++---------- 1 file changed, 11 insertions(+), 10 deletions(-) (limited to 'community/librtfcomp/PKGBUILD') diff --git a/community/librtfcomp/PKGBUILD b/community/librtfcomp/PKGBUILD index 26129d496..a7b5355d5 100644 --- a/community/librtfcomp/PKGBUILD +++ b/community/librtfcomp/PKGBUILD @@ -1,25 +1,26 @@ -# $Id: PKGBUILD 66204 2012-02-23 03:18:55Z spupykin $ +# $Id: PKGBUILD 88520 2013-04-19 10:31:06Z spupykin $ # Contributor: Bartek Iwaniec pkgname=librtfcomp -pkgver=1.1 -pkgrel=5 +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=('b7f70dc41687d920ec9f47c01f56d6ce') +md5sums=('cdff301ff346905595d0bb6efd432850') 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 .. +} -} +package() { + cd ${srcdir}/${pkgname}-${pkgver} + make DESTDIR="${pkgdir}" install + install -dm0755 $pkgdir/usr/bin + install -m0755 tests/{to,from}rtf $pkgdir/usr/bin +} -- cgit v1.2.3-54-g00ecf