pingus: split data package, update homepage [ci skip]

This commit is contained in:
SolitudeSF 2018-04-07 21:24:30 +03:00 committed by Jürgen Buchmüller
parent 5a53ba4c45
commit 7de7488bd0
2 changed files with 17 additions and 6 deletions

1
srcpkgs/pingus-data Symbolic link
View File

@ -0,0 +1 @@
pingus

View File

@ -1,16 +1,18 @@
# Template file for 'pingus' # Template file for 'pingus'
pkgname=pingus pkgname=pingus
version=0.7.6 version=0.7.6
revision=10 revision=11
wrksrc="pingus-v${version}"
build_style=scons build_style=scons
hostmakedepends="scons pkg-config" 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" short_desc="Free Lemmings-like puzzle game"
maintainer="Juan RP <xtraeme@voidlinux.eu>" maintainer="Juan RP <xtraeme@voidlinux.eu>"
license="GPL-2" license="GPL-2.0-or-later"
homepage="http://pingus.seul.org/welcome.html" homepage="https://pingus.seul.org/"
distfiles="https://github.com/Pingus/pingus/archive/v${version}.tar.gz" distfiles="https://gitlab.com/pingus/pingus/-/archive/v${version}/pingus-v${version}.tar.gz"
checksum=c4cd89e1d350d2472f32de5f6266ac9f3658a3620eace3f79efac45db4323b65 checksum=31cb2c0ecddd49dbe03535648e8c7c2971da469c52af52cdf9dc2459798342c8
nocross=yes nocross=yes
do_build() { do_build() {
@ -24,3 +26,11 @@ do_install() {
make PREFIX=/usr DESTDIR=${DESTDIR} install make PREFIX=/usr DESTDIR=${DESTDIR} install
vinstall ${FILESDIR}/pingus.desktop 644 usr/share/applications vinstall ${FILESDIR}/pingus.desktop 644 usr/share/applications
} }
pingus-data_package() {
short_desc+=" - data files"
noarch=yes
pkg_install() {
vmove usr/share/pingus
}
}