1 # Maintainer: TuxSpirit<tuxspiritATarchlinuxDOTfr>
7 pkgdesc="FreeArc archiver combines unexampled speed/compression ratio and multitude of features"
10 depends=('curl' 'gmp' 'gtk2')
11 url="http://freearc.org"
12 source=(http://freearc.org/download/${pkgver}/FreeArc-${pkgver}-linux-i386.tar.bz2 \
15 install=${pkgname}.install
18 md5sums=('d522c029c733b0b7d394b489e187a687'
19 'c8a9eacf55da51f4f6c92d39f27dc1d8'
20 'bb85ad2af190393df10980299a3d875e')
24 install -d -m 755 ${pkgdir}/usr/bin
25 install -d -m 755 ${pkgdir}/etc/${_pkgname}
26 install -d -m 755 ${pkgdir}/usr/lib/${_pkgname}
27 install -d -m 755 ${pkgdir}/usr/lib/${_pkgname}/{Addons,arc.languages,Codecs,Documentation,scripts}
28 install -d -m 755 ${pkgdir}/usr/lib/${_pkgname}/Addons/Benchmarking
31 install -m 755 ${srcdir}/FreeArc-${pkgver}-linux-i386/bin/* ${pkgdir}/usr/bin
34 install -m 755 ${srcdir}/FreeArc-${pkgver}-linux-i386/cfg/* ${pkgdir}/etc/${_pkgname}
35 install -m 755 ${srcdir}/FreeArc-${pkgver}-linux-i386/scripts/* ${pkgdir}/usr/lib/${_pkgname}/scripts
38 install -m 755 ${srcdir}/freearcusercfg.sh ${pkgdir}/usr/lib/${_pkgname}/scripts/freearcusercfg.sh
41 install -m 755 ${srcdir}/FreeArc-${pkgver}-linux-i386/lib/{*.so,*.sfx,*.txt} ${pkgdir}/usr/lib/${_pkgname}
42 install -m 644 ${srcdir}/FreeArc-${pkgver}-linux-i386/lib/arc.languages/* ${pkgdir}/usr/lib/${_pkgname}/arc.languages
44 install -m 644 ${srcdir}/FreeArc-${pkgver}-linux-i386/lib/Codecs/* ${pkgdir}/usr/lib/${_pkgname}/Codecs
46 install -m 644 ${srcdir}/FreeArc-${pkgver}-linux-i386/Addons/{supertest,*.arc} ${pkgdir}/usr/lib/${_pkgname}/Addons
47 install -m 644 ${srcdir}/FreeArc-${pkgver}-linux-i386/Addons/Benchmarking/{*.rb,*.txt} ${pkgdir}/usr/lib/${_pkgname}/Addons/Benchmarking || true
50 install -m 644 ${srcdir}/FreeArc-${pkgver}-linux-i386/Documentation/* ${pkgdir}/usr/lib/${_pkgname}/Documentation
53 install -D -m 644 ${srcdir}/freearc.desktop ${pkgdir}/usr/share/applications/freearc.desktop