You are not logged in.
I'm running into a weird (to me) error while making my first PKGBUILD (and running makepkg).
$ makepkg
............... *snip* ...............
==> Starting build()...
/usr/bin/makepkg: line 917: build: command not found
==> ERROR: Build Failed. Aborting...
The PKGBUILD code:
pkgname=lsb-release
pkgver=1.4
pkgrel=1
pkgdesc="LSB version query program."
arch=('i686')
url="http://www.linuxbase.org/"
license=('GPL-2')
groups=
provides=
depends=
makedepends=('perl')
source=(http://superb-east.dl.sourceforge.net/sourceforge/lsb/$pkgname-$pkgver.tar.gz)
md5sums=('30537ef5a01e0ca94b7b8eb6a36bb1e4')
build() {
cd "$startdir/$pkgname-$pkgver"
mkdir $startdir/pkg/etc/
cat > "$startdir/pkg/etc/lsb-release" <<- EOF
DISTRIB_ID="Arch"
EOF
make || return 1
make DESTDIR="$startdir/pkg" install
}
It's probably a silly typo, but I can't find it.
Do you want a Bubble Icon? Feel free to submit your requests or personal creations to be included in future releases.
I'm 100% Linux!
Offline
change the cat line for this
echo DISTRIB_ID="Arch" > "$startdir/pkg/etc/lsb-release"
Last edited by hacosta (2007-11-08 20:58:34)
Offline
You also don't need the quotes, bash knows how to interpolate it's variables.
Offline
Thanks! That helped me along enormously!
Do you want a Bubble Icon? Feel free to submit your requests or personal creations to be included in future releases.
I'm 100% Linux!
Offline