Guest User

phalcon 1.3.4 PKGBUILD

a guest
Feb 16th, 2015
181
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. pkgname=php-phalcon
  2. pkgver=1.3.4
  3. pkgrel=1
  4. pkgdesc="Web framework delivered as a C-extension for PHP"
  5. url="http://phalconphp.com"
  6. arch=('x86_64' 'i686')
  7. [[ $CARCH == 'i686' ]] && cd _arch=32bits || _arch=64bits
  8. license=('PHP')
  9. depends=('php')
  10. backup=('etc/php/conf.d/phalcon.ini')
  11.  
  12. source=(
  13. "https://github.com/phalcon/cphalcon/archive/phalcon-v$pkgver.zip"
  14. )
  15.  
  16. sha256sums=('2049e4c83e34ca7c0a1f02a51593ac18ee1e81571802c3be5370aaca25b31c1d')
  17.  
  18. build() {
  19. cd "$srcdir/cphalcon-phalcon-v$pkgver/build/$_arch"
  20. export CFLAGS="-O2 -fno-delete-null-pointer-checks"
  21. phpize
  22. ./configure --prefix=/usr --enable-phalcon
  23. make
  24. }
  25.  
  26. package() {
  27. cd "$srcdir/cphalcon-phalcon-v$pkgver/build/$_arch"
  28.  
  29. make INSTALL_ROOT="$pkgdir" install
  30. echo 'extension=phalcon.so' > phalcon.ini
  31. install -Dm644 phalcon.ini "$pkgdir/etc/php/conf.d/phalcon.ini"
  32. }
RAW Paste Data

Adblocker detected! Please consider disabling it...

We've detected AdBlock Plus or some other adblocking software preventing Pastebin.com from fully loading.

We don't have any obnoxious sound, or popup ads, we actively block these annoying types of ads!

Please add Pastebin.com to your ad blocker whitelist or disable your adblocking software.

×