updated on Tue Jan 17 12:00:36 UTC 2012
[aur-mirror.git] / netbook-launcher-complete-legacy / PKGBUILD
blob6539bf8b0a9a3cb87d4e135d1d3ebf48a6a806d4
1 # Contributor: LemieuxS <lems@gmx.fr>
2 pkgname=netbook-launcher-complete-legacy
3 pkgver=2.12
4 pkgrel=0
5 pkgdesc="(Gnome 2.28)Netbook-launcher from Ubuntu UNR. Replace the normal menu launcher. To use with go-home-applet, 
6 window-picker-applet and maximus"
7 arch=('i686' 'x86_64')
8 url="https://launchpad.net/netbook-remix-launcher"
9 depends=('libgnome<=2.28' 'gnome-menus<=2.28' 'gnome-desktop<=2.28')
10 makedepends=('binutils')
11 provides=('netbook-launcher' 'libclutk' 'libclutter' 'libclutter-gtk' 'liblauncher' 'libnetbook-launcher' 'clutk' 'clutter' 'clutter-gtk')
12 conflicts=('netbook-launcher' 'clutk' 'clutter' 'clutter-gtk')
13 replaces=('netbook-launcher' 'clutk' 'clutter' 'clutter-gtk')
14 license=('GPL')
16 _source_x86=(
17         http://mirrors.kernel.org/ubuntu/pool/main/n/netbook-launcher/netbook-launcher_2.1.12-0ubuntu3_i386.deb
18         http://mirrors.kernel.org/ubuntu/pool/main/c/clutk/libclutk-0.2-0_0.2.8-0ubuntu1_i386.deb
19         http://mirrors.kernel.org/ubuntu/pool/main/c/clutter-1.0/libclutter-1.0-0_1.0.6-0ubuntu1_i386.deb
20         http://mirrors.kernel.org/ubuntu/pool/main/c/clutter-gtk/libclutter-gtk-0.10-0_0.10.2-0ubuntu1_i386.deb
21         http://mirrors.kernel.org/ubuntu/pool/main/libl/liblauncher/liblauncher-0.1-0_0.1.8-0ubuntu1_i386.deb
22         http://mirrors.kernel.org/ubuntu/pool/main/n/netbook-launcher/libnetbook-launcher-0_2.1.12-0ubuntu3_i386.deb
24 _md5sums_x86=(
25         'd6bc49645c911781640657c1d44dcef6'
26         '0f13f433c2022ffb515bf1e688ba9e87'
27         'b1f793a73e6eccfe561cc43af1be3d66'
28         '700ba775a2e5a084432405ffca7b972d'
29         '4c450b2798a26ec672c26987ee16db6a'
30         'afd33dc489d5ea1d3cfa969f9429add9'
33 _source_x86_64=(
34         http://mirrors.kernel.org/ubuntu/pool/main/n/netbook-launcher/netbook-launcher_2.1.12-0ubuntu3_amd64.deb
35         http://mirrors.kernel.org/ubuntu/pool/main/c/clutk/libclutk-0.2-0_0.2.8-0ubuntu1_amd64.deb
36         http://mirrors.kernel.org/ubuntu/pool/main/c/clutter-1.0/libclutter-1.0-0_1.0.6-0ubuntu1_amd64.deb
37         http://mirrors.kernel.org/ubuntu/pool/main/c/clutter-gtk/libclutter-gtk-0.10-0_0.10.2-0ubuntu1_amd64.deb
38         http://mirrors.kernel.org/ubuntu/pool/main/libl/liblauncher/liblauncher-0.1-0_0.1.8-0ubuntu1_amd64.deb
39         http://mirrors.kernel.org/ubuntu/pool/main/n/netbook-launcher/libnetbook-launcher-0_2.1.12-0ubuntu3_amd64.deb
41 _md5sums_x86_64=(
42         '5c80574e3c386edf4b502809493be356'
43         '15aafb867ff310b444ab8cdc766249b8'
44         '78f41d987d9156d71d9e54910f3101a5'
45         'eff2c67c9cf5fa8892c7178951e7b5a7'
46         '5c04772ef308949c56f2fd16c1fc8393'
47         '88eec3cdff6f45e1a98fa532e1d9f674'
50 source=(${_source_x86[@]})
51 md5sums=(${_md5sums_x86[@]})
52 [ "$CARCH" = "x86_64" ] && source=(${_source_x86_64[@]})
53 [ "$CARCH" = "x86_64" ] && md5sums=(${_md5sums_x86_64[@]})
55 build() {
56   cd $srcdir
58   # extract the archive
59   ar x netbook-launcher*.deb || return 1
60   mkdir data
61   tar -xzvf data.tar.gz -C data || return 1
62   ar x liblauncher*.deb || return 1
63   tar -xzvf data.tar.gz -C data || return 1
64   ar x libnetbook-launcher*.deb
65   tar -xzvf data.tar.gz -C data || return 1
66   ar x libclutk*.deb
67   tar -xzvf data.tar.gz -C data || return 1
68   ar x libclutter-1*.deb
69   tar -xzvf data.tar.gz -C data || return 1
70   ar x libclutter-gtk*.deb
71   tar -xzvf data.tar.gz -C data || return 1  
72   
73   # copy into place
74   cp -r data/* $pkgdir || return 1