updated on Sun Jan 15 08:01:04 UTC 2012
[aur-mirror.git] / bin32-freearc / PKGBUILD
blobc1395f23ebb57082c2786bc18c306d0cf3cc9399
1 # Contributor: Artiom MOLCHANOV <ar.molchanov@gmail.com>
3 pkgname=bin32-freearc
4 pkgver=0.666
5 namefile=FreeArc-${pkgver}-linux-i386
6 pkgrel=1
7 pkgdesc="FreeArc archiver combines unexampled speed/compression ratio and multitude of features"
8 license=('GPL')
9 arch=('x86_64')
10 depends=('lib32-curl' 'lib32-gtk2' 'lib32-gmp4')
11 url="http://freearc.sourceforge.net/"
12 source=(http://freearc.org/download/${pkgver}/${namefile}.tar.bz2
13 Makefile.patch 
14 freearc.desktop)
15 options=(!emptydirs)
16 #install=${pkgname/bin32-/}.install
17 md5sums=('d522c029c733b0b7d394b489e187a687'
18          '3cb2c6a20422f4a5e391dd8302b3221a'
19          'c21aadf1ba45785140b1e84b4fe41d5d')
22 build() {   
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/
30 }