updated on Thu Jan 26 16:09:46 UTC 2012
[aur-mirror.git] / mybb-arabic / PKGBUILD
blobf369b14863336df71390f1a55f9fbe878297d9ee
1 # Contributor: Piotr Rogoża <rogoza.piotr@gmail.com>
2 pkgname=mybb-arabic
3 pkgver=1.4.00
4 pkgrel=1
5 pkgdesc='Arabic language pack 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_arabic_1400.zip::http://mybb.com/download/74/zip')
13 build() {
14   cd "$srcdir"
15   _install_dir="${pkgdir}/srv/http/mybb"
16   install -dm755 ${_install_dir}/{images,inc} || return 1
17 #  install -dm755 ${_install_dir}/{images,inc} || return 1
19   #i18n
20 #  cp -r admin/* ${_install_dir}/admin || return 1
21 #  cp -r archive/* ${_install_dir}/archive || return 1
22   cp -r images/* ${_install_dir}/images || return 1
23   cp -r inc/* ${_install_dir}/inc || return 1
25   install -Dm755 RTL_default_theme.xml ${_install_dir}/install/resources/RTL_default_theme.xml || return 1
27   #permission
28   find ${_install_dir} -type f -exec chmod 0644 '{}' ';'
31 # vim:set ts=2 sw=2 et ft=sh tw=100:
32 md5sums=('0383338415ed652a844e6d9df10a046e')