7kaa: prepare for auto-create_wrksrc

This commit is contained in:
Đoàn Trần Công Danh 2022-10-23 23:17:16 +07:00
parent 94fe74e506
commit 7d37c4e2ea
2 changed files with 6 additions and 3 deletions

View File

@ -1,5 +1,5 @@
--- a/src/OSYS.cpp 2020-10-09 21:04:48.099663838 +0700
+++ b/src/OSYS.cpp 2020-10-09 21:06:49.111299505 +0700
--- a/7kaa/src/OSYS.cpp 2020-10-09 21:04:48.099663838 +0700
+++ b/7kaa/src/OSYS.cpp 2020-10-09 21:06:49.111299505 +0700
@@ -2777,6 +2777,8 @@
// test environment variable SKDATA for the path

View File

@ -3,6 +3,8 @@ pkgname=7kaa
version=2.15.4p1
revision=2
_v_7kaa_music=${version%.*}
create_wrksrc=yes
build_wrksrc=7kaa
build_style=gnu-configure
hostmakedepends="autoconf automake gettext-devel pkg-config tar"
makedepends="libcurl-devel libenet-devel libopenal-devel SDL2-devel"
@ -17,7 +19,8 @@ checksum="f0265c077025d77b435f1c10b8ba178bdb16329e51ab735330ebaa71a104fbf8
replaces="7kaa-data>=0"
post_extract() {
mv ../7kaa-music .
mv 7kaa-${version} 7kaa
mv 7kaa-music 7kaa
}
pre_configure() {