fix: goanime package correctly including the binary in all archs.
This commit is contained in:
1 parent
c7e055de55
commit
c6956d6c93
46 files changed
+17
-2
No files matched your search
@@ -1,10 +1,10 @@
|
||||
# Template file for 'goanime'
|
||||
pkgname=goanime
|
||||
version=2.0.4
|
||||
revision=1
|
||||
revision=2
|
||||
build_style=go
|
||||
go_import_path="github.com/alvarorichard/Goanime/v2"
|
||||
go_package="github.com/alvarorichard/Goanime/v2/cmd/goanime"
|
||||
go_package="${go_import_path}/cmd/goanime"
|
||||
hostmakedepends="go gcc"
|
||||
depends="mpv"
|
||||
short_desc="Terminal application to stream and download anime and movies"
|
||||
@@ -16,5 +16,14 @@ checksum=f4ce3f93bf429144165d338117304829a689eeca8dbfff893e3c9bf8c6b3256b
|
||||
make_check=no # Tests take too long (10m+ and panic exit because of timeout so tbh if the package works I won't run the tests bc I don't have time to waste and this is an unofficial repo anyways, I might fix this in the future tho)
|
||||
|
||||
do_install() {
|
||||
bin="$wrksrc/_build-goanime-xbps/bin/goanime"
|
||||
|
||||
if [ ! -x "$bin" ]; then
|
||||
set -- "$wrksrc"/_build-goanime-xbps/bin/*/goanime
|
||||
[ -x "$1" ] || { echo "Error: Unable to find the goanime binary weee edit the template weee" >&2; return 1; }
|
||||
bin="$1"
|
||||
fi
|
||||
|
||||
vbin "$bin"
|
||||
vlicense LICENSE
|
||||
}
|
||||
Reference in new issue
Block a user