Closed mmetak closed 6 years ago
Thank you!
I've seen the pkgbuild on the AUR and a couple of thing must be corrected
change pkgname=omp
to pkgname=omp-git
since it is a development package and pkgname=
should match the name of it's AUR git repo
change make -j10
to make
the number of make jobs is already defined in /etc/makepkg.conf
Other aesthetic only things
provides=('omp') conflicts=('omp')
and
source=("$pkgname::git+https://github.com/TheWiseNoob/OpenMusicPlayer.git"
to get rid of $_pkgname
Thanks! I made those changes, but I can't get installation to finish because it won't overwrite omp on the filesystem after the first installation. What do I need to do to make it overwrite the omp binary after an update? I added omp to conflicts and provides.
Remove first the old package or use
sudo pacman -U --force omp-git*.pkg.tar.xz
to force the installation
Now the conflicts and provides are correct, I shouldn't have to manually remove them. Right?
The new PKGBUILD on AUR causes this:
"==> ERROR: Integrity checks (sha256) differ in size from the source array. :: failed to verify omp-git integrity"
Any idea what I'm doing wrongly?
Is the old package that don't have the right one I guess,
I don't have this problem since I have corrected them before my first build
I have re-installed right now with yaourt -S omp-git
and it's gone ok
One minute to check last error
You have deleted the omp.desktop file, from the source array
Oh, you're right. Really appreciate the help. This is the first time I've even touched a PKGBUILD.
Now I'm doing something else wrongly.
"ERROR: pkgver is not allowed to be empty. ERROR: pkgver() generated an invalid version: "
replace cd "$_pkgname"
with cd "$pkgname"
(if still complain set pkgver=1 then it will replaced by pkgver())
You're the best, FabioLolix. I think I finally solved all of the problems.
I'm glad to help @TheWiseNoob
Change whatever to suit your needs. ;-)