updated on Thu Jan 26 16:09:46 UTC 2012
[aur-mirror.git] / 115upload / PKGBUILD
blobc41ad7dfc6270a11114b401daa7ce51455327bb3
1 pkgname=115upload
2 pkgver=1.5.6.5
3 pkgrel=1
4 pkgdesc='115.com big file upload control'
5 url='http://115.com'
6 arch=('i686' 'x86_64')
7 license=('unknown')
8 depends=()
10 if [ "$CARCH" = "i686" ]; then
11         source=('http://115.com/static/install/115upload_v1.5.6.5_x86.tar.gz')
12         md5sums=('57877ea243ee45b111e6c9d28920629c')
13 elif [ "$CARCH" = "x86_64" ]; then
14         source=('http://115.com/static/install/115upload_v1.5.6.5_x64.tar.gz')
15         md5sums=('32ad80ed8dec3f4dda0fd2bc2ff1c4c5')
18 build(){
19         cd ${srcdir}
20         if [ "$CARCH" = "i686" ]; then
21                 install -D -m644 ${srcdir}/115upload.so ${pkgdir}/usr/lib/mozilla/plugins/115upload.so
22         elif [ "$CARCH" = "x86_64" ]; then
23                 install -D -m644 ${srcdir}/115upload.so ${pkgdir}/usr/lib/mozilla/plugins/115upload.so
24         fi