updated on Fri Jan 20 00:01:56 UTC 2012
[aur-mirror.git] / aria / PKGBUILD
blobf9c06ff2932ac47555af041bfc9f0c31ba198316
1 # Maintainer: archtux <antonio.arias99999@gmail.com>
3 pkgname=aria
4 pkgver=1.0.0
5 pkgrel=1
6 pkgdesc="GTK download manager supporting HTTP/FTP protocol"
7 arch=('i686' 'x86_64')
8 url="http://aria-rpm.vookimedlo.cz/Home"
9 license=('GPL')
10 depends=('gtk' 'openssl')
13 if [ "${CARCH}" = 'x86_64' ]; then
14   source=(http://downloads.sourceforge.net/project/aria-rpm/Aria%20for%20Fedora%20Core/1.0.0-1.fc12/aria-1.0.0-1.fc12.x86_64.rpm)
15   md5sums=('056702c1c59e346338d4e67f09d2e83b')
16 elif  [ "${CARCH}" = 'i686' ]; then 
17   source=(http://downloads.sourceforge.net/project/aria-rpm/Aria%20for%20Fedora%20Core/1.0.0-1.fc12/aria-1.0.0-1.fc12.i686.rpm)
18   md5sums=('c47103c61d2fe2793356822b752ddfca')
21 build() {
22     cd $srcdir
24     bsdtar xf $pkgname* -C $pkgdir
26     # Symlinks
27     mkdir -p $pkgdir/usr/lib
28     ln -s "/usr/lib/libcrypto.so.1.0.0" "$pkgdir/usr/lib/libcrypto.so.10"
29     ln -s "/usr/lib/libssl.so.1.0.0"    "$pkgdir/usr/lib/libssl.so.10"