community/synce-libmimedir to 0.4-7.1

This commit is contained in:
Kevin Mihelich 2016-01-06 02:36:44 +00:00
parent ac637d847d
commit 36b157d372

View file

@ -4,11 +4,11 @@
# ALARM: Kevin Mihelich <kevin@archlinuxarm.org>
# - staticlibs option
# - build with -fPIC for armv7h
# - build with -fPIC for armv7h and aarch64
pkgname=synce-libmimedir
pkgver=0.4
pkgrel=7
pkgrel=7.1
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/"
@ -19,7 +19,7 @@ md5sums=('156e1eb69377d9ae9180a09e38148ec6')
build() {
cd $srcdir/libmimedir-$pkgver
if [ "$CARCH" = "x86_64" -o "$CARCH" = "armv7h" ]; then
if [ "$CARCH" = "x86_64" -o "$CARCH" = "armv7h" -o "$CARCH" = "aarch64" ]; 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