1 # Contributor: Artiom MOLCHANOV <ar.molchanov@gmail.com>
5 namefile=FreeArc-${pkgver}-linux-i386
7 pkgdesc="FreeArc archiver combines unexampled speed/compression ratio and multitude of features"
10 depends=('lib32-curl' 'lib32-gtk2' 'lib32-gmp4')
11 url="http://freearc.sourceforge.net/"
12 source=(http://freearc.org/download/${pkgver}/${namefile}.tar.bz2
16 #install=${pkgname/bin32-/}.install
17 md5sums=('d522c029c733b0b7d394b489e187a687'
18 '3cb2c6a20422f4a5e391dd8302b3221a'
19 'c21aadf1ba45785140b1e84b4fe41d5d')
23 cd "$srcdir/FreeArc-${pkgver}-linux-i386"
25 patch -p0 < "$startdir/Makefile.patch"
26 make DESTDIR="$startdir/pkg" install || return 1
28 mkdir -p ${startdir}/pkg/usr/share/applications
29 install -D -m 644 ${startdir}/freearc.desktop ${startdir}/pkg/usr/share/applications/