updated on Thu Jan 19 20:01:47 UTC 2012
[aur-mirror.git] / remobo / PKGBUILD
blob027e0cc2344514951c7ed7af9a236091ba4a7c08
1 # Maintainer: Dan Serban
2 # Contributor: Xavion <Xavion (dot) 0 (at) Gmail (dot) com>
4 pkgname=remobo
5 pkgver=0.50.3
6 pkgrel=1
7 pkgdesc="A zero-configuration IPN service"
8 arch=(i686 x86_64)
9 url=http://www.remobo.com/
10 license=(custom)
11 depends=(gtk2 libjpeg6 libpng12)
12 [ "${CARCH}" == "i686" ] && filearch=i386 && md5sums=('9fcf2514eb45c6b4be3808d11e8dbb3a')
13 [ "${CARCH}" == "x86_64" ] && filearch=x86_64 && md5sums=('5473822fbb2edddbaefe4a3dc153215c')
14 source=("http://download.remobo.com/${pkgname}-${pkgver}.${filearch}.tar.bz2")
16 build()
18   /bin/true
21 package()
23   # Rename the app folder
24   mv "${srcdir}/${pkgname}-${pkgver}.${filearch}" usr
25   # Move it into the right spot
26   mv usr "${pkgdir}/"
27   cd "${pkgdir}/usr/libexec"
28   chmod u+s *
29   # Create desktop file
30   mkdir -p "$pkgdir/usr/share/applications"
31   DESKTOPFILE="$pkgdir/usr/share/applications/remobo.desktop"
32 cat > "$DESKTOPFILE" <<EOF
33 [Desktop Entry]
34 Encoding=UTF-8
35 Name=Remobo
36 GenericName=IPN Service
37 Comment=A zero-configuration IPN service
38 Exec=remobo-gui
39 Terminal=false
40 Type=Application
41 Icon=remobo
42 Categories=Gnome;GTK;Network;FileTransfer;P2P
43 EOF