leocad: update to 21.06.
Expand distfiles URL where possible, add post_extract so the builddir can be cleaned up properly (library.bin would stay there, otherwise). Closes: #31472 [via git-merge-pr]
This commit is contained in:
parent
ee3b2c0a2d
commit
11096bf396
1 changed files with 8 additions and 4 deletions
|
@ -1,6 +1,6 @@
|
||||||
# Template file for 'leocad'
|
# Template file for 'leocad'
|
||||||
pkgname=leocad
|
pkgname=leocad
|
||||||
version=21.03
|
version=21.06
|
||||||
revision=1
|
revision=1
|
||||||
_lib_version=20.03
|
_lib_version=20.03
|
||||||
build_style=qmake
|
build_style=qmake
|
||||||
|
@ -11,15 +11,19 @@ short_desc="CAD program for creating virtual LEGO models"
|
||||||
maintainer="teldra <teldra@rotce.de>"
|
maintainer="teldra <teldra@rotce.de>"
|
||||||
license="GPL-2.0-only, CC-BY-2.0"
|
license="GPL-2.0-only, CC-BY-2.0"
|
||||||
homepage="http://leocad.org"
|
homepage="http://leocad.org"
|
||||||
distfiles="https://github.com/leozide/${pkgname}/archive/v${version}.tar.gz
|
distfiles="https://github.com/leozide/leocad/archive/v${version}.tar.gz
|
||||||
https://github.com/leozide/leocad/releases/download/v${version}/Library-${_lib_version}.zip"
|
https://github.com/leozide/leocad/releases/download/v${version}/Library-${_lib_version}.zip"
|
||||||
checksum="af7e59fe8367a88a3721a125b021ecba1eb9628eed928bdea7a37b6d41c7ccd6
|
checksum="bd28c47f920fa1bc458b6e5f476b93ccc1aa40e30158a3dd2397368cc3d79099
|
||||||
88d6d28b3a494a15ae63e984c1e732e28362fabc2e145ffab828fed2eb5e3632"
|
88d6d28b3a494a15ae63e984c1e732e28362fabc2e145ffab828fed2eb5e3632"
|
||||||
|
|
||||||
|
post_extract() {
|
||||||
|
mv ../library.bin .
|
||||||
|
}
|
||||||
|
|
||||||
leocad-data_package() {
|
leocad-data_package() {
|
||||||
short_desc+=" - data files"
|
short_desc+=" - data files"
|
||||||
depends="${sourcepkg}>=${version}_${revision}"
|
depends="${sourcepkg}>=${version}_${revision}"
|
||||||
pkg_install() {
|
pkg_install() {
|
||||||
vinstall ../library.bin 644 usr/share/leocad/
|
vinstall library.bin 644 usr/share/leocad/
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue