gdash: remove gdash-data + drop noarch
This commit is contained in:
parent
2dc340bb2c
commit
962646f190
|
@ -1 +0,0 @@
|
||||||
gdash
|
|
|
@ -1,12 +1,11 @@
|
||||||
# Template file for 'gdash'
|
# Template file for 'gdash'
|
||||||
pkgname=gdash
|
pkgname=gdash
|
||||||
version=20180129
|
version=20180129
|
||||||
revision=1
|
revision=2
|
||||||
wrksrc=${pkgname}-${version}unstable
|
wrksrc=${pkgname}-${version}unstable
|
||||||
build_style=gnu-configure
|
build_style=gnu-configure
|
||||||
hostmakedepends="gettext-devel glib-devel gtk+-devel SDL2-devel pkg-config"
|
hostmakedepends="gettext-devel glib-devel gtk+-devel SDL2-devel pkg-config"
|
||||||
makedepends="glu-devel gtk+-devel SDL2_image-devel SDL2_mixer-devel"
|
makedepends="glu-devel gtk+-devel SDL2_image-devel SDL2_mixer-devel"
|
||||||
depends="gdash-data>=${version}_${revision}"
|
|
||||||
configure_args="--with-sdl-prefix=${XBPS_CROSS_BASE}/usr"
|
configure_args="--with-sdl-prefix=${XBPS_CROSS_BASE}/usr"
|
||||||
|
|
||||||
short_desc="Boulder Dash clone close to the original"
|
short_desc="Boulder Dash clone close to the original"
|
||||||
|
@ -15,6 +14,7 @@ license="MIT"
|
||||||
homepage="https://bitbucket.org/czirkoszoltan/gdash"
|
homepage="https://bitbucket.org/czirkoszoltan/gdash"
|
||||||
distfiles="https://bitbucket.org/czirkoszoltan/${pkgname}/downloads/${pkgname}-${version}unstable.tar.gz"
|
distfiles="https://bitbucket.org/czirkoszoltan/${pkgname}/downloads/${pkgname}-${version}unstable.tar.gz"
|
||||||
checksum=7d4bc188d26b6cfce2c94c17dada22282a7108482c5a0f87d37f6ac6db76298e
|
checksum=7d4bc188d26b6cfce2c94c17dada22282a7108482c5a0f87d37f6ac6db76298e
|
||||||
|
replaces="gdash-data"
|
||||||
|
|
||||||
if [ -n "$CROSS_BUILD" ]; then
|
if [ -n "$CROSS_BUILD" ]; then
|
||||||
# Make sure SDL_opengl.h finds GL/gl.h
|
# Make sure SDL_opengl.h finds GL/gl.h
|
||||||
|
@ -32,11 +32,3 @@ pre_build() {
|
||||||
post_install() {
|
post_install() {
|
||||||
vlicense COPYING
|
vlicense COPYING
|
||||||
}
|
}
|
||||||
|
|
||||||
gdash-data_package() {
|
|
||||||
short_desc+=" - data files"
|
|
||||||
archs=noarch
|
|
||||||
pkg_install() {
|
|
||||||
vmove usr/share/gdash
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
Loading…
Reference in New Issue