Warning: file_exists(): open_basedir restriction in effect. File(/srv/http/vhosts/aur.archlinux.org/public/web/locale//en/LC_MESSAGES/aurweb.mo) is not within the allowed path(s): (/srv/http/vhosts/aur-dev.archlinux.org/:/etc/aurweb/) in /srv/http/vhosts/aur-dev.archlinux.org/public/web/lib/streams.php on line 90
AUR (en) - smarty3

Notice: Undefined variable: name in /srv/http/vhosts/aur-dev.archlinux.org/public/web/lib/pkgfuncs.inc.php on line 248

Package Details: smarty3 3.1.30-1

Git Clone URL: https://aur-dev.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: 7
Popularity: 0.004367
First Submitted: 2011-03-06 13:05
Last Updated: 2017-01-19 19:49

Latest Comments

1 2 3 Next › Last »

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>

pkgdesc='Smarty is a PHP template engine'

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

uzsolt commented on 2014-07-02 06:20

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

uzsolt commented on 2012-09-25 19:13

Updated to 3.1.12.

uzsolt commented on 2012-08-23 07:45

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

"pacman installs to /usr/, therefore, manually compiled/installed software installed to /usr/local/ may peacefully co-exist with pacman-tracked system software."

"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'.

uzsolt commented 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

uzsolt commented 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?

uzsolt commented on 2012-06-09 08:29