From 2826534a0feb079d374bdfb7760d1827031c0cf0 Mon Sep 17 00:00:00 2001 From: Paul Merrill Date: Sun, 23 Apr 2017 22:50:33 -0700 Subject: [PATCH] New package: gosu-0.12.0 Closes: #6256 [via git-merge-pr] --- srcpkgs/gosu-devel | 1 + srcpkgs/gosu/template | 30 ++++++++++++++++++++++++++++++ 2 files changed, 31 insertions(+) create mode 120000 srcpkgs/gosu-devel create mode 100644 srcpkgs/gosu/template diff --git a/srcpkgs/gosu-devel b/srcpkgs/gosu-devel new file mode 120000 index 00000000000..c6edf108b4f --- /dev/null +++ b/srcpkgs/gosu-devel @@ -0,0 +1 @@ +gosu \ No newline at end of file diff --git a/srcpkgs/gosu/template b/srcpkgs/gosu/template new file mode 100644 index 00000000000..ee6b001abfc --- /dev/null +++ b/srcpkgs/gosu/template @@ -0,0 +1,30 @@ +pkgname=gosu +version=0.12.0 +revision=1 +build_style=cmake +build_wrksrc=cmake +hostmakedepends="cmake pkg-config" +makedepends="libopenal-devel libsndfile-devel mpg123-devel pango-devel + SDL2_ttf-devel" +depends="libopenal libmpg123 libsndfile pango SDL2_ttf" +short_desc="2D game development library" +maintainer="Paul Merrill " +license="MIT" +homepage="https://www.libgosu.org" +distfiles="https://github.com/${pkgname}/${pkgname}/archive/v${version}.tar.gz" +checksum=aa726e7da57eb4671ff19a198e7015c1899e0536b0152e7375a949c7216ef90c + +post_install() { + vlicense ../COPYING LICENSE +} + +gosu-devel_package() { + depends="gosu>=${version}_${revision} pkg-config" + short_desc+=" - development files" + pkg_install() { + vmove usr/include + vmove usr/share/pkgconfig + vmove usr/share/Gosu + vmove "usr/lib/*.so" + } +}