starfighter: split data package [ci skip]

This commit is contained in:
SolitudeSF 2018-04-07 23:32:01 +03:00 committed by Jürgen Buchmüller
parent 9f3c723702
commit eb6f4f25bc
3 changed files with 13 additions and 4 deletions

View File

@ -1,7 +1,7 @@
# Template file for 'etr' # Template file for 'etr'
pkgname=etr pkgname=etr
version=0.7.5 version=0.7.5
revision=2 revision=4
build_style=gnu-configure build_style=gnu-configure
hostmakedepends="pkg-config" hostmakedepends="pkg-config"
makedepends="SFML-devel glu-devel" makedepends="SFML-devel glu-devel"

1
srcpkgs/starfighter-data Symbolic link
View File

@ -0,0 +1 @@
starfighter

View File

@ -1,16 +1,24 @@
# Template file for 'starfighter' # Template file for 'starfighter'
pkgname=starfighter pkgname=starfighter
version=1.7 version=1.7
revision=1 revision=2
wrksrc="${pkgname}-${version}-src" wrksrc="${pkgname}-${version}-src"
build_style=gnu-configure build_style=gnu-configure
configure_args="exec_prefix=/usr" configure_args="exec_prefix=/usr"
hostmakedepends="pkg-config" hostmakedepends="pkg-config"
makedepends="SDL2_image-devel SDL2_mixer-devel" 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" short_desc="Side-scrolling shoot 'em up space game"
maintainer="cr6git <quark6@protonmail.com>" maintainer="cr6git <quark6@protonmail.com>"
homepage="http://starfighter.nongnu.org" homepage="http://starfighter.nongnu.org"
license="GPL-3" license="GPL-3.0-or-later"
distfiles="${NONGNU_SITE}/starfighter/${version}/${pkgname}-${version}-src.tar.gz" distfiles="${NONGNU_SITE}/starfighter/${version}/${pkgname}-${version}-src.tar.gz"
checksum=5b8c53ee680ad29558e244b59345fbc7c2100a542d2839dd74e22f84e5858698 checksum=5b8c53ee680ad29558e244b59345fbc7c2100a542d2839dd74e22f84e5858698
starfighter-data_package() {
short_desc+=" - data files"
noarch=yes
pkg_install() {
vmove usr/share/starfighter
}
}