pioneer: separate data into noarch=yes subpackage
This commit is contained in:
parent
002148554e
commit
fb45364e7b
2 changed files with 10 additions and 1 deletions
1
srcpkgs/pioneer-data
Symbolic link
1
srcpkgs/pioneer-data
Symbolic link
|
@ -0,0 +1 @@
|
|||
pioneer
|
|
@ -1,7 +1,7 @@
|
|||
# Template file for 'pioneer'
|
||||
pkgname=pioneer
|
||||
version=20180203
|
||||
revision=1
|
||||
revision=2
|
||||
build_style=gnu-configure
|
||||
hostmakedepends="automake pkg-config"
|
||||
makedepends="freetype-devel libassimp-devel libsigc++-devel
|
||||
|
@ -13,6 +13,7 @@ homepage="https://pioneerspacesim.net"
|
|||
license="GPL-3"
|
||||
distfiles="https://github.com/pioneerspacesim/pioneer/archive/${version}.tar.gz"
|
||||
checksum=19aa89e8ec0221b937b9279e0d4897b3016e0ce80858d03600d3e80cd7daa907
|
||||
depends="pioneer-data>=${version}_${revision}"
|
||||
|
||||
pre_configure() {
|
||||
export PIONEER_DATA_DIR=/usr/share/pioneer
|
||||
|
@ -32,3 +33,10 @@ post_install() {
|
|||
vinstall application-icon/badge-enlarged-text.svg 644 usr/share/icons/hicolor/scalable/apps pioneer.svg
|
||||
}
|
||||
|
||||
pioneer-data_package() {
|
||||
short_desc+=" - data"
|
||||
noarch=yes
|
||||
pkg_install() {
|
||||
vmove usr/share/pioneer
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue