mirror of
https://github.com/void-linux/void-packages.git
synced 2025-06-07 23:53:51 +02:00
qflipper: use create_wrksrc
This commit is contained in:
parent
96f337b201
commit
a28b85d6f1
1 changed files with 3 additions and 2 deletions
|
@ -3,7 +3,7 @@ pkgname=qflipper
|
||||||
version=1.2.0
|
version=1.2.0
|
||||||
revision=1
|
revision=1
|
||||||
_nanopb_version=0.4.6
|
_nanopb_version=0.4.6
|
||||||
wrksrc="qFlipper-${version}"
|
create_wrksrc=yes
|
||||||
build_style=qmake
|
build_style=qmake
|
||||||
configure_args="CONFIG+=qtquickcompiler DEFINES+=DISABLE_APPLICATION_UPDATES"
|
configure_args="CONFIG+=qtquickcompiler DEFINES+=DISABLE_APPLICATION_UPDATES"
|
||||||
hostmakedepends="qt5-qmake pkg-config qt5-host-tools"
|
hostmakedepends="qt5-qmake pkg-config qt5-host-tools"
|
||||||
|
@ -19,8 +19,9 @@ checksum="d830c9f442e833957431bdd42f5711cb24d64e0d83976e35987cccbe046a3c8c
|
||||||
caa97d55fb9c98b4cfa0b069acd9657f706e9629af0baeaefcae0a0e8c4a64d2"
|
caa97d55fb9c98b4cfa0b069acd9657f706e9629af0baeaefcae0a0e8c4a64d2"
|
||||||
|
|
||||||
post_extract() {
|
post_extract() {
|
||||||
|
mv qFlipper-$version/* .
|
||||||
rmdir 3rdparty/nanopb
|
rmdir 3rdparty/nanopb
|
||||||
mv ../nanopb-${_nanopb_version} 3rdparty/nanopb
|
mv nanopb-${_nanopb_version} 3rdparty/nanopb
|
||||||
assemble_date="$(date -d "$(stat --printf=%y qflipper_common.pri)" +%s)"
|
assemble_date="$(date -d "$(stat --printf=%y qflipper_common.pri)" +%s)"
|
||||||
vsed -i qflipper_common.pri \
|
vsed -i qflipper_common.pri \
|
||||||
-e "s/\$\$GIT_VERSION/${version}/" \
|
-e "s/\$\$GIT_VERSION/${version}/" \
|
||||||
|
|
Loading…
Add table
Reference in a new issue