On 18/05/12 22:54, David C. Rankin wrote: > On 05/18/2012 02:33 AM, Allan McRae wrote: >> On 18/05/12 16:00, Martin Panter wrote: >>> On 18 May 2012 15:26, David C. Rankin <drankinatty@xxxxxxxxxxxxxxxxxx> wrote: >>>> Building a small app (GNU External Ballistic Calculator) for Arch. When the >>>> PKGBUILD goes to package the file it create both >>>> >>>> /pkg >>>> /pkgusr >>>> >>>> directories. It puts the .PKGINFO in /pkg and then the executable and libs under >>>> /pkgusr -- what is up with that?? Anybody seen this before? I've grepped the >>>> source (Makefiles, etc..) and there is no reference to "pkgusr" so what's up? >>> >>> Never seen it before but my guess is that somewhere the app is joining >>> the $pkgdir directory with its own usr/lib/, usr/bin/ directories but >>> there is no slash in between. >>> >> >> Correct... I guess using 'make DESTDIR="$pkgidr/" install' would fix it. >> >> >> >> > > > Hmm, > > OK, I'll check again for the package manipulating pkgdir, because I'm using > the standard package: > > package() { > msg "Packaging ${pkgname}-${pkgver}" > > cd ${pkgname}-${pkgver} > > make DESTDIR=$pkgdir install ^ add a "/" there....