You are not logged in.

#1 2016-10-18 02:12:51

quomoow
Member
Registered: 2016-10-11
Posts: 13

[SOLVED] Makepkg and AUR dependencies

hi, i am new in making packages anytime. Just worked at one package and i've got problem.

Did not see any good answer on wiki e.q. "to install aur depends you need to use ..."

PKGBUILD
# Contributor:  Thomas Mudrunka <harvie@@email..cz>
# Maintainer:   quomoow <quomoow@gmail.com>


pkgname=gretl
pkgver=2016c
pkgrel=1
pkgdesc='cross-platform software package for econometric analysis, written in the$
arch=('any')
url="http://gretl.sourceforge.net/"
license=('GPL')
depends=('gtk' 'gtksourceview' 'libxml' 'lapack' 'fftw3' 'gnuplot' 'GMP' 'libcurl$
optdepends=('MPFR: additional multiple-precision functionality'
        'readline: provides a nice editable command line in gretlcli'
        'JSON-GLib: provides for parsing of data from various websites')
source=("http://freefr.dl.sourceforge.net/project/$pkgname/$pkgname/$pkgver/$pkgn$
md5sums=('61a76e8006989d91657c1ae68453a69a')

build() {
        cd "$srcdir/$pkgname-$pkgver"
        ./configure --prefix=/usr
        make
}

package() {
        cd "$srcdir/$pkgname-$pkgver"
        make DESTDIR="$pkgdir/" install
}

install() {
        cd "$srcdir/$pkgname-$pkgver"
        ./install --prefix=/usr
}


also tried as makepkg -si --asdeps


some of them are only in AUR... AND YES i know /gtksourceview/ pack are not in AUR, have builded it but i will upload when all will be ok

Last edited by quomoow (2016-10-18 18:23:54)

Offline

#2 2016-10-18 02:19:41

Scimmia
Fellow
Registered: 2012-09-01
Posts: 11,560

Re: [SOLVED] Makepkg and AUR dependencies

What, exactly, is the problem? Not sure why you've got package names in depends and makedepends that have capital letters, and you've got a few "$"s that should be quotes.

Last edited by Scimmia (2016-10-18 02:20:17)

Offline

#3 2016-10-18 08:10:30

quomoow
Member
Registered: 2016-10-11
Posts: 13

Re: [SOLVED] Makepkg and AUR dependencies

It cannot download packages cos its pacman without support to aur. These packages are only in aur.

Makepkg just tell me and list missing dependencies, when it should download them form aur and install automatically.

Or i should modify the default packager used in makepkg (probably) from pacman to yaourt... but in what  config file?

Edit
  In pkgbuild are $ cos its copypaste from Nano

Last edited by quomoow (2016-10-18 08:13:21)

Offline

#4 2016-10-18 13:38:24

Scimmia
Fellow
Registered: 2012-09-01
Posts: 11,560

Re: [SOLVED] Makepkg and AUR dependencies

You simply list the deps and the user takes care of them, manually, with a helper, etc.

Offline

#5 2016-10-18 13:44:20

Lone_Wolf
Forum Moderator
From: Netherlands, Europe
Registered: 2005-10-04
Posts: 11,922

Re: [SOLVED] Makepkg and AUR dependencies

Makepkg just tell me and list missing dependencies, when it should download them form aur and install automatically.

No, makepkg expects YOU to provide/install anything not present in repos .


Disliking systemd intensely, but not satisfied with alternatives so focusing on taming systemd.


(A works at time B)  && (time C > time B ) ≠  (A works at time C)

Offline

#6 2016-10-18 15:56:03

quomoow
Member
Registered: 2016-10-11
Posts: 13

Re: [SOLVED] Makepkg and AUR dependencies

So why in other packages with dependencies from aur it's going automatically dl and install and how to do that in my package? Its A must be knowladge in my brain

It is not written in wiki or badly linked

Last edited by quomoow (2016-10-18 15:57:21)

Offline

#7 2016-10-18 16:34:36

bstaletic
Member
Registered: 2014-02-02
Posts: 658

Re: [SOLVED] Makepkg and AUR dependencies

There is no way for makepkg to download dependencies from AUR, because pacman doesn't have AUR support. If makepkg actually did install any of the dependencies, those dependencies must have been found in official repos.

Offline

#8 2016-10-18 16:35:23

Alad
Wiki Admin/IRC Op
From: Bagelstan
Registered: 2014-05-04
Posts: 2,412
Website

Re: [SOLVED] Makepkg and AUR dependencies

So why in other packages with dependencies from aur it's going automatically dl and install and how to do that in my package? Its A must be knowladge in my brain

I have no idea what's that supposed to mean.

As was pointed out multiple times, if a package in the AUR requires another package in the AUR, it is up to you, the user, to deal with it. If a package in the AUR requires a package in the official repositories, it is installed by pacman.

If you don't like that, there's enough unsupported tools to hold your hand.


Mods are just community members who have the occasionally necessary option to move threads around and edit posts. -- Trilby

Offline

#9 2016-10-18 18:23:33

quomoow
Member
Registered: 2016-10-11
Posts: 13

Re: [SOLVED] Makepkg and AUR dependencies

Solved, thanks for help.

Offline

Board footer

Powered by FluxBB