SHARE
TWEET

PKGBUILD z-push-2.1.3-1892

a guest Oct 31st, 2014 213 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. # Contributor: C Anthony Risinger
  2. # Contributer: Jörg Thalheim <joerg@higgsboson.tk>
  3.  
  4. pkgname=z-push
  5. pkgver=2.1.3
  6. pkgrel=1892
  7. pkgdesc="open-source implementation of the ActiveSync protocol"
  8. arch=('any')
  9. url="http://z-push.sf.net/"
  10. license=('AGPL3')
  11. depends=('php')
  12. install=z-push.install
  13. backup=('etc/webapps/z-push/config.php'
  14.         'etc/webapps/z-push/.htaccess'
  15.         'etc/webapps/z-push/apache.conf'
  16.         'etc/webapps/z-push/nginx.conf')
  17. options=('!strip')
  18. source=("http://download.z-push.org/final/2.1/${pkgname}-${pkgver}-${pkgrel}.tar.gz"
  19.         "apache.conf"
  20.         "nginx.conf"
  21.         "htaccess"
  22.         "z-push.ini")
  23.  
  24. md5sums=('a5bc26143cf1961988bbff1eb1442d98'
  25.          '32a459bd61135b6c5e99e82e3a6b0007'
  26.          'e768c5ed6e631d18e156f94b3bc46948'
  27.          '1091aa1ba272ef05bf628f73b05c527a'
  28.          'ceaa699636b0de6d678a2cf3af264d2b')
  29.  
  30. package() {
  31.   mkdir -p ${pkgdir}/etc/webapps/z-push
  32.   mkdir -p ${pkgdir}/etc/php/conf.d
  33.   mkdir -p ${pkgdir}/usr/share/webapps/z-push
  34.   mkdir -p ${pkgdir}/var/{lib,log}/z-push
  35.   cd ${pkgdir}/usr/share/webapps/
  36.  
  37.   cp -r ${srcdir}/${pkgname}-${pkgver}-${pkgrel}/* z-push
  38.  
  39.   mv z-push/config.php ${pkgdir}/etc/webapps/z-push/config.php
  40.   ln -s /etc/webapps/z-push/config.php z-push/config.php
  41.  
  42.   cp ${srcdir}/htaccess ${pkgdir}/etc/webapps/z-push/.htaccess
  43.   ln -s /etc/webapps/z-push/.htaccess z-push/.htaccess
  44.  
  45.   cp ${srcdir}/{apache,nginx}.conf ${pkgdir}/etc/webapps/z-push/
  46.  
  47.   cp ${srcdir}/z-push.ini  ${pkgdir}/etc/php/conf.d/
  48. }
  49. ~                                                                                                                                                  
  50. ~                                                                                                                                                  
  51. ~                                                                                                                                                  
  52. ~                                                                                                                                                  
  53. ~                                                                                                                                                  
  54. ~
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
Not a member of Pastebin yet?
Sign Up, it unlocks many cool features!
 
Top