mirror of
https://github.com/archlinuxarm/PKGBUILDs.git
synced 2025-01-17 23:34:07 +00:00
25 lines
891 B
Bash
25 lines
891 B
Bash
# $Id: PKGBUILD 82 2009-07-17 19:56:55Z aaron $
|
|
# Maintainer: Sergej Pupykin <pupykin.s+arch@gmail.com>
|
|
# Contributor: Zhukov Pavel <gelios@gmail.com>
|
|
|
|
pkgname=synce-libmimedir
|
|
pkgver=0.4
|
|
pkgrel=2
|
|
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')
|
|
source=(http://downloads.sourceforge.net/sourceforge/synce/libmimedir-$pkgver.tar.gz)
|
|
md5sums=('156e1eb69377d9ae9180a09e38148ec6')
|
|
|
|
build() {
|
|
cd $startdir/src/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
|
|
make || return 1
|
|
mkdir -p $startdir/pkg/usr/{include,lib}
|
|
make prefix=$startdir/pkg/usr install || return 1
|
|
}
|