where is place and the proper way to add the the missing part to correct this error. the actual file and download address is changed, comments add to where to get it, but for some reason the maintainer didn't update the file?
is this norm for Arch and Arch based systems?
won't find that in slackbuilds.
the package build file, I just commented out the original and add the changes.
Code:
GNU nano 2.9.8 PKGBUILD Modified
# Contributor: Carlo Casta <carlo.casta@gmail.com>
# Contributor: Corinne Schrickel <corinne.schrickel@gmail.com>
# Contributor: Alexander Dusheleit <alexander.duscheleit@gmail.com>
#pkgname=gkrellm-gkfreq
pkgname=aur-gkrellm-gkfreq
pkgver=1.3
pkgrel=1
pkgdesc="A plugin for gkrellm2 which displays the current CPU frequency"
arch=('i686' 'x86_64')
url="https://sourceforge.net/projects/gkrellm-gkfreq/files/2.4/gkrellm-gkfreq-2.4.tar.gz/download"
#url="http://code.google.com/p/gkrellm-gkfreq"
license=('GPL')
depends=('gkrellm')
makedepends=('pkgconfig')
source=(https://sourceforge.net/projects/gkrellm-gkfreq/files/2.4/gkrellm-gkfreq-2.4.tar.gz/download)
#source=(http://$pkgname.googlecode.com/files/$pkgname-$pkgver.tar.gz)
#NOT EVEN SURE IF THIS IS VALID
md5sums=('SKIP')
#md5sums=('26c96bce1d27fd1ec4b67eaa172cc2c3')
build()
{
cd "$srcdir/$pkgname"
make
}
package()
{
cd "$srcdir/$pkgname"
install -D -m 755 gkfreq.so ${pkgdir}/usr/lib/gkrellm2/plugins/gkfreq.so
}
the error
Code:
0 0 0 ==> Building and installing package
==> Making package: aur-gkrellm-gkfreq 1.3-1 (Sat 06 Oct 2018 07:41:55 AM CDT)
==> Checking runtime dependencies...
==> Checking buildtime dependencies...
==> Retrieving sources...
-> Found download
==> Validating source files with md5sums...
download ... Skipped
==> Extracting sources...
-> Extracting download with bsdtar
==> Removing existing $pkgdir/ directory...
==> Starting build()...
/tmp/yaourt-tmp-userx/aur-gkrellm-gkfreq/./PKGBUILD: line 23: cd: /tmp/yaourt-tmp-userx/aur-gkrellm-gkfreq/src/aur-gkrellm-gkfreq: No such file or directory
==> ERROR: A failure occurred in build().
Aborting...
==> ERROR: Makepkg was unable to build aur-gkrellm-gkfreq.
==> Restart building gkrellm-gkfreq ? [y/N]
Quote:
Originally Posted by arch
|
the contents of /tmp/package
Code:
userx@manjaroieo:/tmp
$ ls yaourt-tmp-userx/*
yaourt-tmp-userx/orphans.5743
yaourt-tmp-userx/aur-gkrellm-gkfreq:
download pkg PKGBUILD src
yaourt-tmp-userx/PKGDEST.FNh:
source
https://aur.archlinux.org/packages/gkrellm-gkfreq/
AND
how do I keep using the same package build, run it, instead of having to use yogurt pick number of package, and start all over again using a different pgkfile?