diff options
author | Sigmund | 2015-06-16 18:54:27 +0100 |
---|---|---|
committer | Sigmund | 2015-06-16 18:54:27 +0100 |
commit | 569a551c4526b079557f605c73004168c85538ba (patch) | |
tree | 8f17472a3a608fcf753e9adb3a07be2f9b9d92fb /PKGBUILD | |
download | aur-569a551c4526b079557f605c73004168c85538ba.tar.gz |
First commit
Diffstat (limited to 'PKGBUILD')
-rw-r--r-- | PKGBUILD | 29 |
1 files changed, 29 insertions, 0 deletions
diff --git a/PKGBUILD b/PKGBUILD new file mode 100644 index 000000000000..aebb24e86b8c --- /dev/null +++ b/PKGBUILD @@ -0,0 +1,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 {} \; +} |