Hi guys. What if I don't want provide any $source url, but just a path to tar.gz archive? Just to pass this path to $source variable doesn't work.
Have you tried placing the tar.gz file in the working directory before running `abuild`?
Yes. After run abuild -r abuild create symlink $builddir/archive.tar.gz but then print error that checksums did not match and ERROR: $pkgname: all failed
abuild -r
ERROR: $pkgname: all failed
For the checksums, run this command in the working directory that contains the APKBUILD and the .tar.gz (plus any other files you need):
abuild checksum
See also https://wiki.alpinelinux.org/wiki/APKBUILD_Reference#md5sums.2Fsha256sums.2Fsha512sums
For your $pkgname error, I think we need to see the APKBUILD itself (all of it).
Oh, I forgot about it. Thanks a lot. P.S.: sorry for stupid question.
Have you tried placing the tar.gz file in the working directory before running `abuild`?
Yes. After run
abuild -r
abuild create symlink $builddir/archive.tar.gz but then print error that checksums did not match andERROR: $pkgname: all failed
For the checksums, run this command in the working directory that contains the APKBUILD and the .tar.gz (plus any other files you need):
abuild checksum
See also https://wiki.alpinelinux.org/wiki/APKBUILD_Reference#md5sums.2Fsha256sums.2Fsha512sums
For your $pkgname error, I think we need to see the APKBUILD itself (all of it).
Oh, I forgot about it. Thanks a lot.
P.S.: sorry for stupid question.