updated on Sun Jan 15 08:01:04 UTC 2012
[aur-mirror.git] / osticket / PKGBUILD
blob4cd2dcafcc87d4ea2ede2230e9dfbac3ee4dd833
1 ## PKGBUILD
2 # Maintainer: Mark Doe <mark.doe.priv@gmail.com>
3 ##
5 pkgname=osticket
6 pkgver=1.6.0
7 pkgrel=1
8 pkgdesc='A widely-used open source support ticket system.'
9 arch=('any')
10 url='http://www.osticket.com/'
11 license=('GPL')
12 depends=('php>=4.3.10' 'php-apache>=4.3.10' 'mysql>=4.4.0')
13 makedepends=('unzip')
14 install="${pkgname}.install"
15 source=("http://osticket.com/dl/$pkgname_$pkgver.tar.gz")
16 md5sums=('f8d5e8070c52ae3adf822cfbb1c8b628')
18 package() {
19   install -d ${pkgdir}/srv/http/osticket
20   sleep 1
21   echo "Extracting files"
22   sleep 1
23   tar -C ${pkgdir}/srv/http/osticket xzf $pkgname_$pkgver.tar.gz
25   # fix permissions (probably needs to get included upstream)
26   find ${pkgdir}/srv/http/$pkgname -type f -exec chmod 0664 {} \; 
27   find ${pkgdir}/srv/http/$pkgname -type d -exec chmod 0775 {} \;