updated on Sun Jan 15 16:02:00 UTC 2012
[aur-mirror.git] / ppsei / PKGBUILD
blobea71a975f029a3a1ceed057e03651b0abed73d95
1 pkgname=ppsei
2 arch=('i686' 'x86_64')
3 pkgver=0.3
4 pkgrel=3
5 pkgdesc="Extracting image files from Microsoft's Powerpoint (PPS/PPT) files"
6 url="http://sourceforge.net/projects/ppsei/"
7 license='GPL'
8 source=("http://downloads.sourceforge.net/sourceforge/$pkgname/$pkgname-$pkgver.src.tgz")
9 md5sums=('fac5d96b76ae82aa6060437caf05cd43')
10 makedepends=sed
12 build() {
13         cd $srcdir/$pkgname
14         if test "$CARCH" == x86_64
15         then
16                 sed s/'-march=i686 $(DEFS)'/'$(DEFS)'/ Makefile > Makefile.tmp
17                 mv -f Makefile Makefile.orig
18                 mv -f Makefile.tmp Makefile
19         fi
20         make || return 1
21         install -Dps -m755 $pkgname $pkgdir/usr/bin/$pkgname
22