diff options
author | WorMzy Tykashi | 2019-07-01 21:12:00 +0100 |
---|---|---|
committer | WorMzy Tykashi | 2019-07-01 21:12:00 +0100 |
commit | eabb00d82e7dc3b0d85c22a4d7fbd866b79a1c17 (patch) | |
tree | f40f0e0ec08ff23a18e7d836b5edf1311dbb7093 /PKGBUILD | |
download | aur-eabb00d82e7dc3b0d85c22a4d7fbd866b79a1c17.tar.gz |
Initial commit
Diffstat (limited to 'PKGBUILD')
-rw-r--r-- | PKGBUILD | 39 |
1 files changed, 39 insertions, 0 deletions
diff --git a/PKGBUILD b/PKGBUILD new file mode 100644 index 000000000000..d47f719b2d81 --- /dev/null +++ b/PKGBUILD @@ -0,0 +1,39 @@ +# Maintainer: WorMzy Tykashi <wormzy.tykashi@gmail.com> + +pkgname=openxcom-extended +pkgver=5.5.2 +# Repo doesn't use tags, so set which commit this version corresponds to in +# https://github.com/MeridianOXC/OpenXcom/commits/oxce-plus/src/version.h +_commit=308a9aacd365274429502ece67e47e2ae89322ba +pkgrel=1 +pkgdesc="An extended version of the open-source reimplementation of X-COM" +arch=('i686' 'x86_64') +url="https://openxcom.org/forum/index.php/topic,5251.0.html" +license=('GPL3') +depends=('sdl_mixer' 'sdl_gfx' 'sdl_image' 'sdl' 'yaml-cpp' 'libgl' 'gcc-libs' + 'glibc' 'hicolor-icon-theme') +makedepends=('git' 'xmlto' 'docbook-xml' 'docbook-xsl' 'doxygen' 'sdl_mixer' + 'sdl_gfx' 'sdl_image' 'sdl' 'yaml-cpp' 'libgl' 'gcc-libs' 'glibc' + 'boost' 'glu' 'cmake' 'hicolor-icon-theme') +optdepends=('openxcom-data-steam: pacman-tracked X-COM data files from Steam' + 'openxcom-tftd-data-steam: pacman-tracked Terror From The Deep data files from Steam') +provides=('openxcom' 'openxcom-git') +conflicts=('openxcom') +install="${pkgname}.install" +source=(openxcom-extended::git+"https://github.com/MeridianOXC/OpenXcom.git#commit=${_commit}") +md5sums=('SKIP') + +prepare() { + mkdir -p openxcom-extended/build +} + +build() { + cd openxcom-extended/build + cmake -DCMAKE_INSTALL_PREFIX="/usr" -DCMAKE_BUILD_TYPE="Release" -DDEV_BUILD="Off" .. + make +} + +package() { + cd openxcom-extended/build + make DESTDIR="${pkgdir}" install +} |