updated on Thu Jan 19 16:10:29 UTC 2012
[aur-mirror.git] / flashget / PKGBUILD
blob65bf4c0d3187ab403efb5362edeac67c486d4844
1 pkgname=flashget
2 pkgver=1.0.3
3 pkgrel=1
4 pkgdesc="FlashGet is a leading Download Manager and has the highest amount of users on the internet. Beta version."
5 arch=('i686' 'x86_64')
6 url="http://bbs.flashget.com/forumdisplay.php?fid=31"
7 license=('custom')
8 if [ "$CARCH" = "x86_64" ]; then
9         depends=('lib32-expat' 'lib32-libpng' 'lib32-gtk2' 'lib32-libxext' 'lib32-libsm' 'lib32-libxxf86vm')
10 elif [ "$CARCH" = "i686" ]; then
11         depends=('expat' 'libpng' 'gtk2' 'libxext' 'libsm' 'libxxf86vm')
13 install='wxflashget.install'
14 source=('http://bbs.flashget.com/download/flashget-1.0.3-0_en.tar.gz')
15 md5sums=('66c6268a3f59916a7ec1ea84349b03b2')
17 build() {
18   mkdir -p $pkgdir/usr/bin
19   mkdir -p $pkgdir/usr/share/flashget
20   mkdir -p $pkgdir/usr/share/applications
21   install -m 755 $srcdir/flashget-$pkgver/flashget $pkgdir/usr/bin/
22   install -m 644 $srcdir/flashget-$pkgver/flashget.png $pkgdir/usr/share/flashget/
23   install -m 644 $srcdir/flashget-$pkgver/flashget.desktop $pkgdir/usr/share/applications/
24   if [ "$CARCH" = "x86_64" ]; then
25         mkdir -p ${pkgdir}/usr/lib32/
26         ln -s /usr/lib32/libexpat.so ${pkgdir}/usr/lib32/libexpat.so.0
27   else
28         mkdir -p ${pkgdir}/usr/lib/
29         ln -s /usr/lib/libexpat.so ${pkgdir}/usr/lib/libexpat.so.0
30   fi