From eb6f4f25bcf8e61d5ac49a05e8601494fb2217ab Mon Sep 17 00:00:00 2001 From: SolitudeSF Date: Sat, 7 Apr 2018 23:32:01 +0300 Subject: [PATCH] starfighter: split data package [ci skip] --- srcpkgs/etr/template | 2 +- srcpkgs/starfighter-data | 1 + srcpkgs/starfighter/template | 14 +++++++++++--- 3 files changed, 13 insertions(+), 4 deletions(-) create mode 120000 srcpkgs/starfighter-data diff --git a/srcpkgs/etr/template b/srcpkgs/etr/template index 2be8e3ed2ff..10bb5bffdc4 100644 --- a/srcpkgs/etr/template +++ b/srcpkgs/etr/template @@ -1,7 +1,7 @@ # Template file for 'etr' pkgname=etr version=0.7.5 -revision=2 +revision=4 build_style=gnu-configure hostmakedepends="pkg-config" makedepends="SFML-devel glu-devel" diff --git a/srcpkgs/starfighter-data b/srcpkgs/starfighter-data new file mode 120000 index 00000000000..8c24b109c9b --- /dev/null +++ b/srcpkgs/starfighter-data @@ -0,0 +1 @@ +starfighter \ No newline at end of file diff --git a/srcpkgs/starfighter/template b/srcpkgs/starfighter/template index 53b637f23ca..e3925c8362c 100644 --- a/srcpkgs/starfighter/template +++ b/srcpkgs/starfighter/template @@ -1,16 +1,24 @@ # Template file for 'starfighter' pkgname=starfighter version=1.7 -revision=1 +revision=2 wrksrc="${pkgname}-${version}-src" build_style=gnu-configure configure_args="exec_prefix=/usr" hostmakedepends="pkg-config" makedepends="SDL2_image-devel SDL2_mixer-devel" -depends="desktop-file-utils" +depends="${pkgname}-data desktop-file-utils" short_desc="Side-scrolling shoot 'em up space game" maintainer="cr6git " homepage="http://starfighter.nongnu.org" -license="GPL-3" +license="GPL-3.0-or-later" distfiles="${NONGNU_SITE}/starfighter/${version}/${pkgname}-${version}-src.tar.gz" checksum=5b8c53ee680ad29558e244b59345fbc7c2100a542d2839dd74e22f84e5858698 + +starfighter-data_package() { + short_desc+=" - data files" + noarch=yes + pkg_install() { + vmove usr/share/starfighter + } +}