Date: Monday, July 7, 2014 @ 11:45:26 Author: spupykin Revision: 115275
upgpkg: synce-libmimedir 0.4-6 upd Modified: synce-libmimedir/trunk/PKGBUILD ----------+ PKGBUILD | 9 +++------ 1 file changed, 3 insertions(+), 6 deletions(-) Modified: PKGBUILD =================================================================== --- PKGBUILD 2014-07-07 09:39:41 UTC (rev 115274) +++ PKGBUILD 2014-07-07 09:45:26 UTC (rev 115275) @@ -4,21 +4,18 @@ pkgname=synce-libmimedir pkgver=0.4 -pkgrel=5 +pkgrel=6 pkgdesc="provide a means of communication with a Windows CE device - library that parses MIME Directory Profile." arch=('i686' 'x86_64') url="http://synce.sourceforge.net/" license=('GPL') +options=('staticlibs') source=(http://downloads.sourceforge.net/sourceforge/synce/libmimedir-$pkgver.tar.gz) md5sums=('156e1eb69377d9ae9180a09e38148ec6') build() { cd $srcdir/libmimedir-$pkgver - if [ "$CARCH" = "x86_64" ]; then - sed -i -e 's|Wall|Wall -fPIC -DPIC|g' Makefile.in - ./configure --prefix=/usr --disable-shared --with-pic - else ./configure --prefix=/usr --disable-shared - fi + ./configure --prefix=/usr --enable-shared make }