diff options
author | William McKIE | 2016-03-18 21:17:59 +0100 |
---|---|---|
committer | William McKIE | 2016-03-18 21:17:59 +0100 |
commit | 9ed356f4693a527400c82b65572c907865dda646 (patch) | |
tree | 850042e737ca5c92922cf9d4d748b068a1273899 /PKGBUILD | |
parent | a0bc3b0827b2d3e72f3c857e74a938c9703636ab (diff) | |
download | aur-9ed356f4693a527400c82b65572c907865dda646.tar.gz |
Updated to version 3.5
Diffstat (limited to 'PKGBUILD')
-rwxr-xr-x | PKGBUILD | 29 |
1 files changed, 24 insertions, 5 deletions
@@ -1,19 +1,20 @@ # Maintainer: William McKIE <mckie.william@hotmail.co.uk> pkgname=monogame-git -pkgver=3.4 -pkgrel=2 +pkgver=3.5 +pkgrel=1 pkgdesc="Open Source implementation of the Microsoft XNA 4 Framework." arch=('any') url="http://www.monogame.net/" license=('Microsoft Public License (Ms-PL)') groups=('any') -depends=('gtk-sharp-3' 'opentk' 'sdl_gfx' 'sdl_image' 'sdl_mixer' 'sdl_net' 'sdl_ttf' 'smpeg') +depends=('freeimage' 'ffmpeg' 'gtk-sharp-3' 'openal' 'opentk') makedepends=('git' 'nvidia-texture-tools' 'dos2unix' 'monodevelop' 'sharpfonts' 'assimp-net') conflicts=('monogame' 'tao-framework' 'tao-framework-svn') provides=('monogame') source=('git+https://github.com/mono/MonoGame.git' 'monogame.pc.in' 'mgcb.sh' + # '2mgfx.sh' 'monogame-pipeline.sh') md5sums=('SKIP' 'c41ca3ef34fc31b114b77bdff626c5a0' @@ -38,22 +39,40 @@ build() { } package() { + # Assemblies cd "${srcdir}/MonoGame/MonoGame.Framework/bin/Linux/AnyCPU/Release" find . -name 'MonoGame.Framework.*' -exec install -Dm644 {} "${pkgdir}/usr/lib/monogame/"{} \; find . -name 'Lidgren.Network.*' -exec install -Dm644 {} "${pkgdir}/usr/lib/monogame/"{} \; + + # Pipeline cd "${srcdir}/MonoGame/MonoGame.Framework.Content.Pipeline/bin/Linux/AnyCPU/Release" find . -name 'MonoGame.Framework.Content.Pipeline.*' -exec install -Dm644 {} "${pkgdir}/usr/lib/monogame/"{} \; find . -name 'Nvidia.TextureTools.*' -exec install -Dm644 {} "${pkgdir}/usr/lib/monogame/"{} \; find . -name 'ManagedPVRTC.*' -exec install -Dm644 {} "${pkgdir}/usr/lib/monogame/"{} \; - cd "${srcdir}/MonoGame/IDE/MonoDevelop/bin/Release" + find . -name 'FreeImageNET.*' -exec install -Dm644 {} "${pkgdir}/usr/lib/monogame/"{} \; + find . -name 'NVorbis.*' -exec install -Dm644 {} "${pkgdir}/usr/lib/monogame/"{} \; + find . -name 'PVRTexLibNET.*' -exec install -Dm644 {} "${pkgdir}/usr/lib/monogame/"{} \; + find . -name 'ATI.TextureConverter.*' -exec install -Dm644 {} "${pkgdir}/usr/lib/monogame/"{} \; + + # AddIns + cd "${srcdir}/MonoGame/IDE/MonoDevelop/bin/Release" find . -type f -exec install -Dm644 {} "${pkgdir}/usr/lib/monodevelop/AddIns/MonoDevelop.MonoGame/"{} \; - cd "${srcdir}/MonoGame/Tools/Pipeline/bin/Linux/AnyCPU/Release" + + # Tools + cd "${srcdir}/MonoGame/Tools/Pipeline/bin/Linux/AnyCPU/Release" find . -name 'MGCB.*' -exec install -Dm644 {} "${pkgdir}/usr/lib/monogame/"{} \; find . -name 'Pipeline.*' -exec install -Dm644 {} "${pkgdir}/usr/lib/monogame/"{} \; find ./Templates -type f -exec install -Dm644 {} "${pkgdir}/usr/lib/monogame/"{} \; + # NOTE: For now, there is no official linux release of 2MGFX tool + # SEE: http://community.monogame.net/t/compiling-effects-on-linux/2089 + # cd "${srcdir}/MonoGame/Tools/2MGFX/bin/Linux/AnyCPU/Release" + # find . -name '2MGFX.*' -exec install -Dm644 {} "${pkgdir}/usr/lib/monogame/"{} \; + + # Install install -Dm644 "${srcdir}/MonoGame/LICENSE.txt" "${pkgdir}/usr/share/licenses/monogame/LICENSE.txt" install -Dm755 "${srcdir}/mgcb.sh" "${pkgdir}/usr/bin/mgcb" + # install -Dm755 "${srcdir}/2mgfx.sh" "${pkgdir}/usr/bin/2mgfx" install -Dm755 "${srcdir}/monogame-pipeline.sh" "${pkgdir}/usr/bin/monogame-pipeline" install -Dm644 "${srcdir}/monogame.pc.in" "${pkgdir}/usr/lib/pkgconfig/monogame.pc" sed -i "s,@VERSION@,v${pkgver}," "${pkgdir}/usr/lib/pkgconfig/monogame.pc" |