You are not logged in.
Hi,
I'm currently writing a pkgbuild for nit, and I got some trouble with the dependancies.
pkgname=nit
pkgver=0.7.9
pkgrel=1
pkgdesc='Nit is an expressive language with a script-like syntax, a friendly type-system and aims at elegance, simplicity and intuitiveness.'
arch=('any')
url='http://nitlanguage.org/'
license=('apache')
# debian dep : sudo apt-get install build-essential ccache libgc-dev graphviz libunwind-dev pkg-config
depends=('gcc', 'ccache', 'gc', 'graphviz', 'libunwind', 'pkg-config')
makedepends=('git')
source=("git+https://github.com/nitlang/nit.git")
md5sums=('SKIP')
build() {
cd "$srcdir"/nit
make
}
package() {
cd "$srcdir"/nit
make DESTDIR="$pkgdir/" install
}
When I try to do a simple "makepkg", I got this
==> Making package: nit 0.7.9-1 (Fri Nov 6 17:02:01 EST 2015)
==> Checking runtime dependencies...
==> Missing dependencies:
-> gcc,
-> ccache,
-> gc,
-> graphviz,
-> libunwind,
==> Checking buildtime dependencies...
==> ERROR: Could not resolve all dependencies.
But I got all the dependencies installed on my computer. And even if I try "makepkg -s"
==> Making package: nit 0.7.9-1 (Fri Nov 6 17:02:24 EST 2015)
==> Checking runtime dependencies...
==> Installing missing dependencies...
[sudo] password for simon:
error: target not found: gcc,
error: target not found: ccache,
error: target not found: gc,
error: target not found: graphviz,
error: target not found: libunwind,
==> ERROR: 'pacman' failed to install missing dependencies.
IDK what's going on, but I know I got these packages installed on my computer.
Can somebody help me with this?
Thanks.
Offline
Arrays are space separated: remove the commas...
Offline
Oh my god whyyyyyyyyyyyyy
Thanks anyway, it works fine.
I got another question : is yaourt using automatically the -s argument to install any packages from aur?
Offline
No idea. Read the wiki pages on PKGBUILDs and creating packages. You should be building in a clean chroot not using a helper like Yaourt.
Offline
Any update on this ? Are you going to put it on AUR ?
I'm intressted in that
Thanks
Offline