1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
# Maintainer: Speed
# Contributor: Dan Serban
# Contributor: John Gerritse <[email protected]>

pkgname=celtx
pkgver=2.x.x.latest
pkgrel=1
pkgdesc="Integrated solution for media pre-production and collaboration"
url=http://celtx.com/
arch=(any)
license=(CePL) 
depends=(python2)
makedepends=(lynx)
conflicts=(celtx-bin)
source=("http://download.celtx.com/2.9.5/Celtx-2.9.5.tar.bz2")
md5sums=("cf69dce8347932cd290e5e683f8def23")
build()
{
  mkdir -p "${pkgdir}"/usr/share
  bsdtar -xf "${srcdir}"/Celtx-2.9.5.tar.bz2 -C "${pkgdir}"/usr/share
  mkdir -p "${pkgdir}"/usr/share/applications
  DESKTOPFILE="${pkgdir}"/usr/share/applications/brosix.desktop
  echo "[Desktop Entry]" > "${DESKTOPFILE}"
  echo "Name=Celtx" >> "${DESKTOPFILE}"
  echo "Comment=Solution for media pre-production and collaboration" >> "${DESKTOPFILE}"
  echo "Exec=/usr/share/celtx/celtx" >> "${DESKTOPFILE}"
  echo "Icon=/usr/share/celtx/icons/default48.png" >> "${DESKTOPFILE}"
  echo "Type=Application" >> "${DESKTOPFILE}"
  echo "Terminal=false" >> "${DESKTOPFILE}"
  echo "Categories=Office;" >> "${DESKTOPFILE}"
}