You are not logged in.
I often run svn/cvs versions of software to help projects debug and stuff, so I like to leave the binaries for those apps unstripped. Historically I have done that by passing the --nostrip option to makepkg or versionpkg, but when I tried it today I got this error:
$ versionpkg -o="--nostrip"
==> using makepkg opts `--nostrip'
==> retrieving latest revision number from svn... \c
668431
==> newer revision detected: 668431
makepkg version 3.0.3
Usage: /usr/bin/makepkg [options]
Options:
-b, --builddeps Build missing dependencies from source
-c, --clean Clean up work files after build
-C, --cleancache Clean up source files from the cache
-d, --nodeps Skip all dependency checks
-e, --noextract Do not extract source files (use existing src/ dir)
-f, --force Overwrite existing package
-g, --geninteg Generate integrity checks for source files
-h, --help This help
-i, --install Install package after successful build
-L, --log Log package build process
-m, --nocolor Disable colorized output messages
-o, --nobuild Download and extract files only
-p <buildscript> Use an alternate build script (instead of 'PKGBUILD')
-r, --rmdeps Remove installed dependencies after a successful build
-R, --repackage Repackage contents of pkg/ without building
-s, --syncdeps Install missing dependencies with pacman
-S, --usesudo When calling pacman, use sudo
These options can be passed to pacman:
--noconfirm Do not ask for confirmation when resolving dependencies
--noprogressbar Do not show a progress bar when downloading files
If -p is not specified, makepkg will look for 'PKGBUILD'
==> ERROR: Reverting pkgver...
It's been awhile since I have done this, so I wonder if the nostrip option was removed from makepkg.
Offline
Since pacman3 you can set it in /etc/makepkg.conf.
Offline
Okay, thanks. But what if I don't want to set it on every package?
Offline
Okay, sorry. It seems I have to set the option in the PKGBUILD instead of on the command line now. I should read a little more I guess.
Offline
Okay, sorry. It seems I have to set the option in the PKGBUILD instead of on the command line now. I should read a little more I guess.
So just where did you read that?
Offline
oggb4mp3 wrote:Okay, sorry. It seems I have to set the option in the PKGBUILD instead of on the command line now. I should read a little more I guess.
So just where did you read that?
It's in the man pages:
$ man PKGBUILD
Offline