summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: aebb24e86b8c149bd79007ebac1df0bfcbd8fd32 (plain)
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
## PKGBUILD
# Maintainer: Sigmund Vestergaard <sigmundv at gmail dot com>
# Contributor: Mark Doe <mark.doe.priv@gmail.com>
##
#
pkgname=osticket
pkgver=1.9.8.1
pkgrel=1
pkgdesc='A widely-used open source support ticket system.'
arch=('any')
url='http://www.osticket.com/'
license=('GPL')
depends=('php>=4.3.10' 'php-apache>=4.3.10' 'mysql>=4.4.0')
makedepends=('unzip')
install="${pkgname}.install"
source=("http://osticket.com/sites/default/files/download/osTicket-v$pkgver.zip")
md5sums=('35ae9eebd702833e67cab06f77723ece')

package() {
  install -d ${pkgdir}/srv/http/osticket
  sleep 1
  echo "Extracting files"
  sleep 1
  unzip -d ${pkgdir}/srv/http/osticket "osTicket-v$pkgver"

  # fix permissions (probably needs to get included upstream)
  find ${pkgdir}/srv/http/$pkgname -type f -exec chmod 0664 {} \; 
  find ${pkgdir}/srv/http/$pkgname -type d -exec chmod 0775 {} \; 
}