You are not logged in.
Hi to all
I've never done a pkgbuild, but have modified some (ie nvidia drivers)to be able to compile new or beta versions, etc)
Now I want to make a PKGBUILD for a java software (openproject) that is distributed a a .tar.gz file and is not necessary to compile it, only untar and copy to specific folders
I want to build a pkgbuild that makes the following
1. download the source tar.gz from sourceforge (I have already this and is working)
2. create a install script "on the fly" to be included in the package that makes the following
2.1 create /usr/share/openproj (this is giving an error of not enough permissions)
2.2. uncompress the tar.gz to /usr/share/openproj
2.3 copy from /usr/share/openproj/openproj.sh to /usr/local/bin/
is possible to make this?
how?
many thanks
-
Arch64 - Acer AX3950 - i5-650 3.2 GHz - 8 GB RAM - Nvidia GeForce 320 1 GB Ram
Arch32 - Samsung NC10 - 2 GB Ram
Offline
What's wrong with https://aur.archlinux.org/packages.php?ID=12418? What do you want to do differently?
Offline
Have you looked at similar PKGBUILDs in AUR? That would be the most straightforward approach...
Something like this? https://aur.archlinux.org/packages.php?ID=7885
# edit: OK, karol, I give up
Last edited by jasonwryan (2011-11-15 20:46:38)
Offline
mkdir -p $pkgdir/usr/share/openproj
or "install -d" if you prefer and so on. When building, $pkgdir is inside the build directory and when installing, it's just the root directory.
(next step: you can generate the md5sums by writing the PKGBUILD with a correct source= line and then building it once with "makepkg -g")
Last edited by rene (2011-11-15 20:57:25)
Offline
Hi.
really I looked for openproject in AUR and didnt found it but didn't look for openproj
well I had almost done (more simple) the same than that pkgbuild, but missed the -p flag
now learned a bit more of Arch
Many thanks
-
Arch64 - Acer AX3950 - i5-650 3.2 GHz - 8 GB RAM - Nvidia GeForce 320 1 GB Ram
Arch32 - Samsung NC10 - 2 GB Ram
Offline
really I looked for openproject in AUR and didnt found it but didn't look for openproj
That's what I thought :-)
openproject seems to be an unrelated project: http://openproject.sourceforge.net/index2.html
Offline
I think you can mark the thread as solved :-)
Offline