updated on Thu Jan 26 16:09:46 UTC 2012
[aur-mirror.git] / cacaoweb-bin / PKGBUILD
blobd49c117585713583ea15a0708aa7964930ee7740
1 # Maintainer: SpepS <dreamspepser at yahoo dot it>
3 _name=cacaoweb
4 pkgname=$_name-bin
5 pkgver=1.2.0.3
6 pkgrel=10
7 pkgdesc="Watch, share and host videos and files online with no limits."
8 arch=('i686' 'x86_64')
9 url="http://www.cacaoweb.org/"
10 license=('custom:UNLICENSE')
11 depends=("firefox>=8.0")
12 provides=("$_name")
13 conflicts=("$_name")
14 [ "$CARCH" = 'x86_64' ] && _arc=64
15 source=("${url}download/$_name.linux$_arc"
16         "http://unlicense.org/UNLICENSE")
17 md5sums=(`wget -qO- $source | md5sum | cut -c -32`
18          '7246f848faa4e9c9fc0ea91122d6e680')
20 build() {
21   return 0
24 package() {
25   # bin
26   install -Dm755 "$srcdir/$_name.linux$_arc" "$pkgdir/usr/bin/$_name"
28   # license
29   install -Dm644 "$srcdir/UNLICENSE" "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
31   # "Couldn't load XPCOM." hard fix
32   install -d "$pkgdir/usr/local"
33   ln -s /usr/lib/firefox/libxpcom.so "$pkgdir/usr/local"
34   ln -s /usr/lib/firefox/application.ini "$pkgdir/usr/local"