blob: 6b343e524b0d8f0b73bb0ad202d7e1a02d10121c (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
|
# Maintainer: Viste <viste02@gmail.com>
_pkgname='azerothcore-wotlk'
pkgname='azerothcore'
pkgver=3.0
pkgrel=4
arch=('i686' 'x86_64')
pkgdesc="AzerothCore - MMORPG Server. Based on MaNGOS -> TrinityCore -> SunwellCore"
url="http://www.azerothcore.org"
license=('AGPL3')
depends=('cmake' 'clang' 'readline' 'lib32-readline' 'mariadb' 'git')
source=("git+https://github.com/azerothcore/${_pkgname}.git")
sha512sums=('SKIP')
build() {
cd "${_pkgname}"
mkdir build && cd build
cmake ../ -DCMAKE_INSTALL_PREFIX=$HOME/azeroth-server/ -DCMAKE_C_COMPILER=/usr/bin/clang -DCMAKE_CXX_COMPILER=/usr/bin/clang++ -DTOOLS=0 -DSCRIPTS=1
make -j6
}
package() {
cd $srcdir/${_pkgname}/build
make install
}
|