LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Manjaro
User Name
Password
Manjaro This forum is for the discussion of Manjaro Linux. Note: This forum does not have any official participation.

Notices


Reply
  Search this Thread
Old 10-06-2018, 07:48 AM   #1
BW-userx
LQ Guru
 
Registered: Sep 2013
Location: Somewhere in my head.
Distribution: Slackware (15 current), Slack15, Ubuntu studio, MX Linux, FreeBSD 13.1, WIn10
Posts: 10,342

Rep: Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242
yourgat pkgfile modifications, a little help need fixing this one.


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

mrbit commented on 2017-07-23 07:03

update pkgnuild please source at
https://sourceforge.net/projects/gkr...ar.gz/download
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?

Last edited by BW-userx; 10-06-2018 at 07:56 AM.
 
Old 10-06-2018, 08:33 AM   #2
BW-userx
LQ Guru
 
Registered: Sep 2013
Location: Somewhere in my head.
Distribution: Slackware (15 current), Slack15, Ubuntu studio, MX Linux, FreeBSD 13.1, WIn10
Posts: 10,342

Original Poster
Rep: Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242
got tired of hacking away at it, so I just downloaded the source on this one, then it even gave me the options to install directly into my home folder. it's working now.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
md5sum check AngryAngry Slackware 11 01-02-2012 01:50 PM
skip the md5sum check in dpkg abd_bela Debian 5 08-06-2008 06:59 AM
How to check md5sum satimis *BSD 5 05-05-2007 12:17 AM
AMAVIS-NEW skip certain emails from check +Yan Linux - Software 0 03-19-2007 09:15 AM
md5sum check? digitalbanana Linux - General 1 07-01-2002 04:49 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Manjaro

All times are GMT -5. The time now is 07:46 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration