From 7de7488bd0f9ff03633ee068a2f59fe13fcc4aa6 Mon Sep 17 00:00:00 2001 From: SolitudeSF Date: Sat, 7 Apr 2018 21:24:30 +0300 Subject: [PATCH] pingus: split data package, update homepage [ci skip] --- srcpkgs/pingus-data | 1 + srcpkgs/pingus/template | 22 ++++++++++++++++------ 2 files changed, 17 insertions(+), 6 deletions(-) create mode 120000 srcpkgs/pingus-data diff --git a/srcpkgs/pingus-data b/srcpkgs/pingus-data new file mode 120000 index 00000000000..1583da6ce8d --- /dev/null +++ b/srcpkgs/pingus-data @@ -0,0 +1 @@ +pingus \ No newline at end of file diff --git a/srcpkgs/pingus/template b/srcpkgs/pingus/template index 010abd908a5..1732c6200d6 100644 --- a/srcpkgs/pingus/template +++ b/srcpkgs/pingus/template @@ -1,16 +1,18 @@ # Template file for 'pingus' pkgname=pingus version=0.7.6 -revision=10 +revision=11 +wrksrc="pingus-v${version}" build_style=scons hostmakedepends="scons pkg-config" -makedepends="SDL_image-devel SDL_mixer-devel boost-devel libpng-devel libXi-devel zlib-devel" +makedepends="SDL_image-devel SDL_mixer-devel boost-devel libpng-devel" +depends="${pkgname}-data" short_desc="Free Lemmings-like puzzle game" maintainer="Juan RP " -license="GPL-2" -homepage="http://pingus.seul.org/welcome.html" -distfiles="https://github.com/Pingus/pingus/archive/v${version}.tar.gz" -checksum=c4cd89e1d350d2472f32de5f6266ac9f3658a3620eace3f79efac45db4323b65 +license="GPL-2.0-or-later" +homepage="https://pingus.seul.org/" +distfiles="https://gitlab.com/pingus/pingus/-/archive/v${version}/pingus-v${version}.tar.gz" +checksum=31cb2c0ecddd49dbe03535648e8c7c2971da469c52af52cdf9dc2459798342c8 nocross=yes do_build() { @@ -24,3 +26,11 @@ do_install() { make PREFIX=/usr DESTDIR=${DESTDIR} install vinstall ${FILESDIR}/pingus.desktop 644 usr/share/applications } + +pingus-data_package() { + short_desc+=" - data files" + noarch=yes + pkg_install() { + vmove usr/share/pingus + } +}