updated on Thu Jan 12 08:01:00 UTC 2012
[aur-mirror.git] / mybb-greek / PKGBUILD
blobf3545d084d4d086831d3ead0fc235a7ece029617
1 # Contributor: Piotr Rogoża <rogoza.piotr@gmail.com>
2 pkgname=mybb-greek
3 pkgver=1.4.00
4 pkgrel=1
5 pkgdesc='Greek language to the MyBB. It includes the translation as well as translated images.'
6 arch=('i686' 'x86_64')
7 url=('http://mybb.com/downloads/translations')
8 license=('GPL')
9 depends=('mybb')
10 makedepends=('unzip')
11 source=("lang_greek_1400.zip::http://mybb.com/download/108/zip")
13 build() {
14   cd "$srcdir"
15   _install_dir="${pkgdir}/srv/http/mybb"
16   install -dm755 ${_install_dir}/{images,inc} || return 1
18   #i18n
19   cp -r images/* ${_install_dir}/images || return 1
20   cp -r greek.php ${_install_dir}/inc/ || return 1
21   install -dm755 ${_install_dir}/inc/languages/greek || return 1
22   cp -r greek/* ${_install_dir}/inc/languages/greek || return 1
24   #permission
25   find ${_install_dir} -type f -exec chmod 0644 '{}' ';'
28 # vim:set ts=2 sw=2 et ft=sh tw=100:
29 md5sums=('e765b8e626d5d6fdc18b7119faf48cb2')