updated on Fri Jan 13 00:14:41 UTC 2012
[aur-mirror.git] / marratech / PKGBUILD
blobb19be83e71716184da4008ec39909681b3dced73
1 # Contributor: BinkyTheClown <binky_at_archlinux_dot_us>
2 pkgname=marratech
3 pkgver=6.1
4 pkgrel=1
5 pkgdesc="Internet video conferencing, e-meeting and web conferencing"
6 arch=(i686 x86_64)
7 url="http://www.marratech.com"
8 license=('custom')
9 depends=('alsa-lib' 'gtk2' 'libxp' 'libxtst' 'libstdc++5' 'libxt')
10 makedepends=('rpmunpack')
11 source=(http://www.marratech.com/download/files/marratech61_linux/Marratech-$pkgver.i586.rpm
12     marratech.profile)
13 md5sums=('d2212f9205597684c50273251ee7336c'
14          'b475c0ac92e77f21ba01180b7a14ee04')
16 build() {
17     cd $srcdir
18     rpmunpack Marratech-6.1.i586.rpm
19     gunzip < Marratech-6.1-956.cpio.gz | cpio -ivd
20     mkdir opt
21     mv ./usr/local/marratech/Marratech6.1 ./opt
22     mkdir -p ./usr/share/licenses/marratech
23     cp ./opt/Marratech6.1/end_user_license.html ./usr/share/licenses/marratech
24     sed -i 's_/usr/local/marratech/Marratech6.1_/opt/Marratech6.1_' ./opt/Marratech6.1/bin/Marratech
25     rm -rf ./usr/local
26     mkdir -p ./etc/profile.d
27     cp marratech.profile ./etc/profile.d/marratech.sh
28     chmod +x ./etc/profile.d/marratech.sh
29     cp -rf ./opt ./usr ./etc ../pkg