From 3fe8aa15d3ac0926fa30710d26b6c619ffdaab95 Mon Sep 17 00:00:00 2001 From: Swaelens Jonathan Date: Sun, 10 May 2015 08:58:55 +0200 Subject: [PATCH] Initial import --- .SRCINFO | 12 ++++++++++++ PKGBUILD | 32 ++++++++++++++++++++++++++++++++ 2 files changed, 44 insertions(+) create mode 100644 .SRCINFO create mode 100644 PKGBUILD diff --git a/.SRCINFO b/.SRCINFO new file mode 100644 index 000000000000..07edd64ef419 --- /dev/null +++ b/.SRCINFO @@ -0,0 +1,12 @@ +pkgbase = smarty3-i18n + pkgdesc = smarty3-i18n provides gettext support for Smarty, the popular PHP templating engine (http://smarty.php.net/). + pkgver = 1.0 + pkgrel = 3 + url = https://forge.fusiondirectory.org/projects/smarty3-i18n + arch = any + depends = smarty3 + source = http://repos.fusiondirectory.org/sources/1.0/smarty3-i18n/smarty3-i18n-1.0.tar.gz + md5sums = 63ab56cdf5cf01aba170ba5fbd932fcd + +pkgname = smarty3-i18n + diff --git a/PKGBUILD b/PKGBUILD new file mode 100644 index 000000000000..4be98b824762 --- /dev/null +++ b/PKGBUILD @@ -0,0 +1,32 @@ +# This is an example PKGBUILD file. Use this as a start to creating your own, +# and remove these comments. For more information, see 'man PKGBUILD'. +# NOTE: Please fill out the license field for your package! If it is unknown, +# then please put 'unknown'. + +# Maintainer: K1412 +pkgname=smarty3-i18n +pkgver=1.0 +pkgrel=3 +pkgdesc="smarty3-i18n provides gettext support for Smarty, +the popular PHP templating engine (http://smarty.php.net/)." +arch=('any') +url='https://forge.fusiondirectory.org/projects/smarty3-i18n' +depends=('smarty3') +licence='LGPL' + +source=("http://repos.fusiondirectory.org/sources/1.0/smarty3-i18n/${pkgname}-${pkgver}.tar.gz") +md5sums=('63ab56cdf5cf01aba170ba5fbd932fcd') + +package() { + cd ${pkgname}-${pkgver}/ + + mkdir -p ${pkgdir}/usr/share/php/smarty3/plugins/ + cp ./block.t.php ${pkgdir}/usr/share/php/smarty3/plugins/ + + mkdir -p ${pkgdir}/usr/share/doc/${pkgname}/ + cp ./AUTHORS ${pkgdir}/usr/share/doc/${pkgname}/ + cp ./COPYING ${pkgdir}/usr/share/doc/${pkgname}/ + cp ./ChangeLog ${pkgdir}/usr/share/doc/${pkgname}/ + cp ./README ${pkgdir}/usr/share/doc/${pkgname}/ +} +