diff options
author | root <root@rshg054.dnsready.net> | 2013-07-19 01:10:32 -0700 |
---|---|---|
committer | root <root@rshg054.dnsready.net> | 2013-07-19 01:10:32 -0700 |
commit | 8fbc0076a4827ddc6af92e0b9daa4c4c31450808 (patch) | |
tree | 03fd0e2921ebd53228d9a93e32ed3976b636cbea /community/synce-libmimedir/PKGBUILD | |
parent | e445a313723389ba9ee1fded025c567dae5b21ea (diff) |
Fri Jul 19 01:09:18 PDT 2013
Diffstat (limited to 'community/synce-libmimedir/PKGBUILD')
-rw-r--r-- | community/synce-libmimedir/PKGBUILD | 25 |
1 files changed, 25 insertions, 0 deletions
diff --git a/community/synce-libmimedir/PKGBUILD b/community/synce-libmimedir/PKGBUILD new file mode 100644 index 000000000..0185eb7f5 --- /dev/null +++ b/community/synce-libmimedir/PKGBUILD @@ -0,0 +1,25 @@ +# $Id: PKGBUILD 65473 2012-02-21 05:58:56Z spupykin $ +# Maintainer: Sergej Pupykin <pupykin.s+arch@gmail.com> +# Contributor: Zhukov Pavel <gelios@gmail.com> + +pkgname=synce-libmimedir +pkgver=0.4 +pkgrel=4 +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 $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 + make + mkdir -p $pkgdir/usr/{include,lib} + make prefix=$pkgdir/usr install +} |