diff --git a/srcpkgs/allegro5-devel b/srcpkgs/allegro5-devel new file mode 120000 index 00000000000..8fa0b1e94e9 --- /dev/null +++ b/srcpkgs/allegro5-devel @@ -0,0 +1 @@ +allegro5 \ No newline at end of file diff --git a/srcpkgs/allegro5/template b/srcpkgs/allegro5/template new file mode 100644 index 00000000000..3ad634bd052 --- /dev/null +++ b/srcpkgs/allegro5/template @@ -0,0 +1,31 @@ +# Template file for 'allegro5'. +pkgname=allegro5 +version=5.0.11 +revision=1 +wrksrc="allegro-${version}" +build_style=cmake +configure_args="-DWANT_DOCS=OFF -DWANT_PHYSFS=ON" +hostmakedepends="pkg-config cmake" +makedepends="zlib-devel alsa-lib-devel jack-devel libXpm-devel libXxf86vm-devel + libXxf86dga-devel libXcursor-devel libvorbis-devel libpng-devel glu-devel" +depends="libGL" +short_desc="Portable library mainly aimed at video game and multimedia programming" +maintainer="Diogo Leal " +license="Allegro License (MIT alike)" +homepage="http://alleg.sourceforge.net/" +distfiles="http://download.gna.org/allegro/allegro/${version}/allegro-${version}.tar.gz" +checksum=49fe14c9571463ba08db4ff778d1fbb15e49f9c33bdada3ac8599e04330ea531 + +post_install() { + vlicense LICENSE.txt +} + +allegro5-devel_package() { + short_desc+=" - development files" + depends="${makedepends}=${version}_${revision}" + pkg_install() { + vmove usr/include + vmove "usr/lib/*.so" + vmove usr/lib/pkgconfig + } +}