Ich versuche gerade für ein simples go-Paket (
https://github.com/paracrawl/giawarc), das go get nutzt, ein PKGBUILD zu erstellen.
In meiner Erinnerung war das total simpel und das Standard-Skelett funktionierte super. Doch leider kanns ich nicht mehr und bekomme folgenden Fehler:
could not find project Gopkg.toml, use dep init to initiate a manifest
pkgname=giawarc
pkgver=1.0
pkgrel=1
pkgdesc='Processing utilities for the Internet Archive'
arch=('x86_64')
url="https://github.com/paracrawl/giawarc"
license=('GPL')
makedepends=('go-pie' 'dep')
source=('git+'$url'.git')
sha256sums=('SKIP')
prepare(){
cd "$srcdir"
mkdir -p gopath/src/github.com/paracrawl
ln -rTsf $pkgname gopath/src/github.com/paracrawl/$pkgname
export GOPATH="$srcdir"/gopath
ls $GOPATH
# Abhängigkeiten
cd gopath/src/github.com/paracrawl/$pkgname
dep ensure
}
build(){
cd "$srcdir"
export GOPATH="$srcdir"/gopath
cd gopath/src/github.com/paracrawl/$pkgname
go install -v .
}
package() {
cd $pkgname
install -Dm755 $pkgname "$pkgdir"/usr/bin/$pkgname
}
Was mache ich hier falsch?