You are not logged in.
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
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
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
You simply list the deps and the user takes care of them, manually, with a helper, etc.
Offline
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
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
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
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
Solved, thanks for help.
Offline