You are not logged in.
Pages: 1
Topic closed
In building cal3d, the pkg subdirectory is populated, but the resulting package xz doesn't have any files. I've tried this on 2 computers with the same result and haven't had any trouble building other packages. I'm still a newbie with Arch and am not sure what to look for to fix it. Here's the PKGBUILD in case there's an obvious problem with it.
# Contributor: Hussam Al-Tayeb <...>
pkgname=cal3d
pkgver=0.11.0
pkgrel=5
pkgdesc="A skeletal-based 3D character animation library"
arch=(i686 x86_64)
url="https://gna.org/projects/cal3d"
options=(!libtool)
license=(GPL2)
depends=('gcc-libs')
makedepends=('patch')
source=(http://download.gna.org/cal3d/sources/cal3d-$pkgver.tar.gz cal3d-gcc43.diff)
md5sums=('82ad09c1c28e73bc9596aec47237bfba'
'f290fb54f844e044ae80165f083cf58f')
build() {
cd ${pkgname}-$pkgver
patch -p0 < ../cal3d-gcc43.diff
./configure --prefix=/usr
make
}
package() {
cd ${pkgname}-$pkgver
make DESTDIR=$startdir/pkg install
}
Last edited by Myshkin (2013-06-29 13:42:58)
Offline
That PKGBUILD needs updating - it doesn't install to the proper directory so makepkg has nothing to make a package out of. This works:
pkgname=cal3d
pkgver=0.11.0
pkgrel=5
pkgdesc="A skeletal-based 3D character animation library"
arch=(i686 x86_64)
url="https://gna.org/projects/cal3d"
options=(!libtool)
license=(GPL2)
depends=('gcc-libs')
makedepends=('patch')
source=(http://download.gna.org/cal3d/sources/cal3d-$pkgver.tar.gz cal3d-gcc43.diff)
md5sums=('82ad09c1c28e73bc9596aec47237bfba'
'f290fb54f844e044ae80165f083cf58f')
build() {
cd "${srcdir}/${pkgname}-${pkgver}"
patch -p0 < ../cal3d-gcc43.diff
./configure --prefix=/usr
make
}
package() {
cd "${srcdir}/${pkgname}-${pkgver}"
make DESTDIR=${pkgdir} install
}
Be sure to report this to the package maintainer
"UNIX is simple and coherent..." - Dennis Ritchie, "GNU's Not UNIX" - Richard Stallman
Offline
Thank you! That worked. I'll notify the maintainer.
Offline
The modified PKGBUILD still works as of yesterday but I note that the package has been removed from AUR. I'm new to Arch Linux so please forgive my ignorance, but can I find out why this is? If the package needs a new maintainer then I would be interested to learn how to do that. Cal3d is used by a game I help support so I have an interest in making the package easily available.
Offline
pjbroad - welcome to the forums. Please avoid necrobumping old threads - this is a completely new issue.
You can read up on the AUR4 changeover which is almost certainly responsible for this. If you want to maintain the PKGBUILD, read the AUR and PKGBUILD wiki pages, and open a new thread if you need help with it.
Closed.
"UNIX is simple and coherent..." - Dennis Ritchie, "GNU's Not UNIX" - Richard Stallman
Offline
Pages: 1
Topic closed