diff --git a/srcpkgs/7kaa/patches/default-data.patch b/srcpkgs/7kaa/patches/default-data.patch index 3b1b6741caa..d4755a5d05a 100644 --- a/srcpkgs/7kaa/patches/default-data.patch +++ b/srcpkgs/7kaa/patches/default-data.patch @@ -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 diff --git a/srcpkgs/7kaa/template b/srcpkgs/7kaa/template index 7aa6e152c8f..801f52654c8 100644 --- a/srcpkgs/7kaa/template +++ b/srcpkgs/7kaa/template @@ -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() {