summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 4f859c2179882208b6e6db4ce3d6998a3c3a3b3d (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
# Maintainer: Sigmund Vestergaard <sigmundv at gmail dot com>
#
pkgname=osticket
pkgver=1.10
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")
sha256sums=('68ff411693802e154426d9ec9b2365ff524aad5f6e52ad9422f073ae48e3a46d')

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 {} \; 
}