[aur-general] 4th PKGBUILD help
Hello I'm trying to solve some problems on the 4th’s PKGBUILD because the one I have already uploaded doesn’t build aswell. I think it’s all right but when it compiles it fails on the package() function. Here are the PKGBUILD[1], and two patches[2][3] I’m using as source: [1] http://pastebin.com/NgDGazt2 [2] http://pastebin.com/ewNSynCd -> Makefile.patch [3] http://pastebin.com/jdCaXeWu -> Makefile.UNX.patch The problem is that “make DESTDIR=”$pkgdir” install” doesn’t install on $pkgdir, at least when I try to compile it with makepkg.
Hello, the reason DESTDIR does not work is because the Makefiles do not use such a variable when copying/installing files. Just copy the files yourself in the PKGBUILD, they are but a few. Regards, Chris Sakalis On Mon, Aug 19, 2013 at 10:40 PM, Jorge Barroso <jorge.barroso.11@gmail.com> wrote:
Hello I'm trying to solve some problems on the 4th’s PKGBUILD because the one I have already uploaded doesn’t build aswell. I think it’s all right but when it compiles it fails on the package() function. Here are the PKGBUILD[1], and two patches[2][3] I’m using as source:
[1] http://pastebin.com/NgDGazt2 [2] http://pastebin.com/ewNSynCd -> Makefile.patch [3] http://pastebin.com/jdCaXeWu -> Makefile.UNX.patch
The problem is that “make DESTDIR=”$pkgdir” install” doesn’t install on $pkgdir, at least when I try to compile it with makepkg.
El Lunes, 19 de agosto de 2013 22:56:12 Chris Sakalis escribió:
Hello,
the reason DESTDIR does not work is because the Makefiles do not use such a variable when copying/installing files. Just copy the files yourself in the PKGBUILD, they are but a few.
Regards, Chris Sakalis
Thanks Chris, I’ll try with a patch for Makefile to avoid texting so much, or simply install it manually.
On Mon, Aug 19, 2013 at 11:09 PM, Jorge Barroso <jorge.barroso.11@gmail.com> wrote:
El Lunes, 19 de agosto de 2013 22:56:12 Chris Sakalis escribió:
Hello,
the reason DESTDIR does not work is because the Makefiles do not use such a variable when copying/installing files. Just copy the files yourself in the PKGBUILD, they are but a few.
Regards, Chris Sakalis
Thanks Chris, I’ll try with a patch for Makefile to avoid texting so much, or simply install it manually.
No problem. Sorry for the top post earlier. --Chris S.
participants (2)
-
Chris Sakalis
-
Jorge Barroso