Package Details: smarty3 3.1.30-1

Git Clone URL: https://aur.archlinux.org/smarty3.git (read-only)
Package Base: smarty3
Description: Smarty is a PHP template engine
Upstream URL: http://www.smarty.net
Licenses: LGPL
Submitter: s4rg.on
Maintainer: javitonino
Last Packager: javitonino
Votes: 6
Popularity: 0.000012
First Submitted: 2011-03-06 13:05
Last Updated: 2017-01-19 19:49

Latest Comments

javitonino commented on 2017-01-19 19:49

Updated. Thanks @Kubax!

Kubax commented on 2017-01-13 13:30

here is a updated PKGBUILD

fixes some problems with fusiondirectory and php7

# Maintainer: Javier Torres <javitonino [at] gmail [dot] com>
# Contributor: Daniel Ehlers <danielehlers@mindeye.net>

pkgname=smarty3
pkgver=3.1.30
pkgrel=1
pkgdesc='Smarty is a PHP template engine'
url='http://www.smarty.net'
license=('LGPL')
depends=('php>=5.2')
arch=('any')
source=("https://github.com/smarty-php/smarty/archive/v${pkgver}.tar.gz")
sha256sums=('62461370c73fb3eb315c6a0a55f9bdbb04d115a0e3eaf46d76d68336524f344f')

package() {
install -d "${pkgdir}/usr/share/php"
cp -dpr --no-preserve=ownership "${srcdir}/smarty-${pkgver}/libs" "${pkgdir}/usr/share/php/smarty3"
}

Anonymous comment on 2014-07-02 06:20

I'm not using Arch anymore. Does anybody adopt this package?

Anonymous comment on 2012-09-25 19:13

Updated to 3.1.12.

Anonymous comment on 2012-08-23 07:45

Check your /usr/local/lib! It is empty (I think), so IMHO it isn't Arch-way.

https://wiki.archlinux.org/index.php/Arch_filesystem_hierarchy#.2Fusr.2Flocal:_Local_hierarchy
"pacman installs to /usr/, therefore, manually compiled/installed software installed to /usr/local/ may peacefully co-exist with pacman-tracked system software."

https://wiki.archlinux.org/index.php/Arch_Packaging_Standards#Package_etiquette
"Packages should never be installed to /usr/local"

So I think should neglect /usr/local. I checked some similar apps (symfony, yii, zendframework) and their directories are in /usr/share/$pkgname.

Anonymous comment on 2012-08-23 07:15

I think it is reasonable to treat smarty as sort of a group of library files. So it is ok with me to install the smarty in '/usr/local/lib'.

Anonymous comment on 2012-08-22 08:15

@lijing872002: no, this isn't suggested directory: "In the examples below the Smarty tarball has been unpacked to..."
Check Example 2.2 - 2.5. If you choose another directory you should modify the directories in examples.

Anonymous comment on 2012-08-22 07:17

As in the offical documentation, the directory of "/usr/local/lib/Smarty-v.e.r/" is suggested. See
http://www.smarty.net/docs/en/installing.smarty.basic.tpl

Anonymous comment on 2012-06-09 08:31

What do you think what would the "best" directory to smarty3? Now is /usr/share/php. Does anybody know better or a standard place?

Anonymous comment on 2012-06-09 08:29

All comments