You are not logged in.
I recently gave making a package a shot, starting with a library. I read through the wiki, and I have a question. I might of missed it, but here it goes:
My package is http://aur.archlinux.org/packages.php?ID=33957
It all installs fine, but I need to run it as root and use the --asroot flag. Is there something I can add so I don't have to do that?
Last edited by cesura (2010-01-26 01:21:53)
Offline
--prefix=$pkgdir/usr
e: equal sign fail
And most likely not during configure, but DESTDIR with the make install:
make DESTDIR=$pkgdir install
Last edited by res (2010-01-25 23:40:03)
Offline
--prefix=$pkgdir/usr
e: equal sign fail
And most likely not during configure, but DESTDIR with the make install:
make DESTDIR=$pkgdir install
What do you mean? Should I make a pkgdir variable? Will this make it so I don't have to use --asroot?
Offline
All you need to do is run
make DESTDIR=$pkgdir install
instead of
make install
so it is built into a package.
As it is it is actually installing it directly onto the system, not through the package.
Offline
All you need to do is run
make DESTDIR=$pkgdir install
instead of
make install
so it is built into a package.
As it is it is actually installing it directly onto the system, not through the package.
Ahh I see so they can later run "pacman -U package.pkg.tar.gz". Thank you
Offline