1 # Maintainer: Maxime Gauduin <alucryd@archlinux.org>
2 # Contributor: Llewelyn Trahaearn <WoefulDerelict@gmail.com>
3 # Contributor: Claudio Kozicky <claudiokozicky@gmail.com>
4 # Contributor: Celti <celticmadman@gmail.com>
5 # Contributor: Jan Alexander Steffens (heftig) <jan.steffens@gmail.com>
6 # Contributor: Eric Belanger <eric@archlinux.org>
7 # Contributor: Jan de Groot <jgc@archlinux.org>
12 pkgdesc='SDL MPEG Player Library'
14 url=https://icculus.org/smpeg/
27 _tag=62aafbc4ee032c1e9ef02ac8bf98b908c5af62ea
28 source=(git+https://github.com/icculus/smpeg.git#tag=${_tag})
38 git describe --tags | sed 's/^release_//; s/_/./g'
44 export CXX='g++ -m32 -std=gnu++03'
45 export CFLAGS+=' -Wno-format-security'
46 export PKG_CONFIG=i686-pc-linux-gnu-pkg-config
56 make DESTDIR="${pkgdir}" install
57 rm -r "${pkgdir}/usr/"{bin,include,share}