updated on Thu Jan 26 16:09:46 UTC 2012
[aur-mirror.git] / mybb-portuguese-brazil / PKGBUILD
blob086d3da107eb048abff78ccdc911d4f0fd937966
1 # Contributor: Piotr Rogoża <rogoza.piotr@gmail.com>
2 pkgname=mybb-portuguese-brazil
3 pkgver=1.4.00
4 pkgrel=1
5 pkgdesc='Portuguese 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_portuguese_br_1400.zip::http://mybb.com/download/93/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 inc/* ${_install_dir}/inc || return 1
22   #permission
23   find ${_install_dir} -type f -exec chmod 0644 '{}' ';'
26 # vim:set ts=2 sw=2 et ft=sh tw=100:
27 md5sums=('9d6868f318d180fad83b7caf376c45b0')