Makepkg whont "install" the files to the pkg/ dir

hi
this is my first PKGBUILD i made so far, but it whont work.
my problem is that makepkg whont copy the files to the pkg dir so it can make the package, instead it trys to install the files directly to the destination where they are supposed to be installed with the package manager.
# Contributor: Wesley <[email protected]>
pkgname=ufoai-svn
pkgver=11224
pkgrel=1
pkgdesc="UFO: Alien Invasion is a strategy game featuring tactical combat"
arch=('i686' 'x86_64')
url="http://ufoai.ninex.info"
license=('GPL')
depends=(libgl sdl_ttf)
conflicts=('ufoai')
makedepends=('subversion')
source=()
md5sums=()
_svntrunk=https://ufoai.svn.sourceforge.net/svnroot/ufoai/ufoai/trunk
_svnmod=trunk
_langs=()
build() {
cd $startdir/src
if [ -d $_svnmod/.svn ]; then
(cd $_svnmod && svn up -r $pkgver)
else
svn co $_svntrunk --config-dir ./ -r $pkgver $_svnmod
fi
msg "SVN checkout done or server timeout"
msg "Starting make..."
cd $_svnmod
./configure --prefix=/usr
make || return 1
make lang
make maps
cd base
./archives.sh
cd ..
make DESTDIR=$startdir/pkg/ install
cp -t $startdir/pkg/usr/share/ufoai/base/ base/*.pk3 base/*.cfg base/*.txt
"DESTDIR" whont works for me at all.
if i make
./configure --prefix=$startdir/pkg/usr
it trys to read the pk3 files from thet directory AFTER installing, so it whont work if i delete the pkg and src dir.

thank you for that hint.
i THINK i found why it is thatway(just wana state here that i am still an absolute newb in making PKGBUILD's my own).
there are some entrys in the MakeFile that describe where to put what (afaik because of what i gave ./configure as parameters?)
everything except the DATADIR is set to ${prefix}/bla or ${exec_prefix}/bla.
but DATADIR needs an absolute path as target to install probably or it gets just ignored, so its, whatever i make either DATADIR=/usr/share/ufoai(where i trys to install it there instead of throwing it into the pkg dir) or DATADIR=/home/bla/pkg/usr/share/ufoai(where he trys to look for that files even after installation.)
since i dont solved the problem with your hint i postet the makefile into a pastebin, maybe u can tell how to actually work around this.
http://pastebin.com/m3da70e68

Similar Messages

  • How to Install .CAP file in the Java Card?

    Hi Friends..
    How to install *.CAP* file in the Java Card?..
    I've GPShell script as follows :
    mode_211
    enable_trace
    establish_context
    card_connect -readerNumber 2
    open_sc -security 1 -keyind 0 -keyver 0 -mac_key 404142434445464748494a4b4c4d4e4f -enc_key 404142434445464748494a4b4c4d4e4f
    install_for_load -pkgAID a00000006203010c01 -nvCodeLimit 500  -sdAID A000000003000000
    load -file HelloWorld.cap
    card_disconnect
    release_contextwith that script i can load HelloWorld.cap file successfully..
    Now, how to install the HelloWorld.cap file?..
    if i add script : load -file HelloWorld.cap i got this error :
    install -file HelloWorld.cap
    file name HelloWorld.cap
    Command --> 80E602001B09A00000006203010C0107A00000015100000006EF04C60201A80000
    Wrapped command --> 84E602002309A00000006203010C0107A00000015100000006EF04C60201
    A80030C859793049B85300
    Response <-- 6985
    install_for_load() returns 0x80206985 (6985: Command not allowed - Conditions of
    use not satisfied.)i ask this question because when i tried to select the applet through its AID, by this script :
    establish_context
    card_connect -readerNumber 2
    select -AID a00000006203010c0101i got this message error : select_application() returns 0x80216A82 (6A82: The application to be selected could not be found.)
    but there's exactly any that AID in my Java Card..
    here's is the list of AID from My Java Card :
    C:\GPShell-1.4.2>GPShell listgp211.txt
    mode_211
    enable_trace
    establish_context
    card_connect -readerNumber 3
    * reader name OMNIKEY CardMan 5x21-CL 0
    select -AID a000000003000000
    Command --> 00A4040008A000000003000000
    Wrapped command --> 00A4040008A000000003000000
    Response <-- 6F108408A000000003000000A5049F6501FF9000
    open_sc -security 1 -keyind 0 -keyver 0 -mac_key 404142434445464748494a4b4c4d4e4
    f -enc_key 404142434445464748494a4b4c4d4e4f // Open secure channel
    Command --> 80CA006600
    Wrapped command --> 80CA006600
    Response <-- 664C734A06072A864886FC6B01600C060A2A864886FC6B02020101630906072A864
    886FC6B03640B06092A864886FC6B040215650B06092B8510864864020102660C060A2B060104012
    A026E01029000
    Command --> 8050000008AAF7A87C6013BC0300
    Wrapped command --> 8050000008AAF7A87C6013BC0300
    Response <-- 0000715457173C2A8FC1FF0200937A55C288805D8F2A04CCD43FA7E69000
    Command --> 848201001023CA18742D36165ED992CFF2146C3D51
    Wrapped command --> 848201001023CA18742D36165ED992CFF2146C3D51
    Response <-- 9000
    get_status -element 10
    Command --> 80F21000024F0000
    Wrapped command --> 84F210000A4F004FF8BE1492F7275400
    Response <-- 0CF0544C00004D4F44554C415201000009A00000006203010C010100010AA000000
    06203010C01019000
    GP211_get_status() returned 2 items
    List of Ex. Load File (AID state Ex. Module AIDs)
    f0544c00004d4f44554c4152        1
    a00000006203010c01      1
            a00000006203010c0101
    card_disconnect
    release_contextPlease help me..
    And please correct me if i'm wrong,,
    Thanks in advance..

    Any suggestions for my question?..
    Please help me..
    Thanks in advance..

  • Yours sincerely! I just bought a Sony DCR-SD1000 camera only when installing the cd drivers not supported by the operating system Machintosh. I've contacted the seller said the store did not provide for the apple os. How can I move all the files on the ca

    Yours sincerely! I just bought a Sony DCR-SD1000 camera only when installing the cd drivers not supported by the operating system Machintosh. I've contacted the seller said the store did not provide for the apple os. How can I move all the files on the camera the port out is to use a USB data cable to a laptop for my macbookpro can not read the contents of the file and the camera. I also want to use the lens on the camera as a substitute for the embedded camera on my macbookpro, what should I do to replace the embedded camera on macbookpro with sony camera so that the camera could be more variety and can I record when I turned macbookpro . Please help for this so that I can quickly capture the results from sony camera to my macbookpro. Thank you.

    See this page http://macosx.com/forums/networking-compatibility/296947-sony-camcorder-my-mac.h tml - might be some helpful tips there.
    Clinton

  • Hello, I am attempting to install Camera raw from a .zip file provided via a link provided by adobe for a Nikon D810. The .zip file unzips fine and I moved the files to the recommended folder. But the operation is failing

    I am attempting to install Camera raw from a .zip file provided via a link provided by adobe for a Nikon D810. The .zip file unzips fine and I moved the files to the recommended folder. But the operation is failing

    Can you describe what “the operation is failing” means?  What is happening and how is it different than what you expect?
    Also, what product are you trying to update manually, and do you have a link to the page of instructions, so we know what your attempting to do?

  • I currently have a 1Tb HDD installed in my macbook pro and have just recently acquired a 120GB SSD. I want to put the operating system on the SSD so it boots quickly but keep the files on the HDD. How do I do this?

    I currently have a 1Tb HDD installed in my macbook pro and have just recently acquired a 120GB SSD. I want to put the operating system on the SSD so it boots quickly but keep the files on the HDD. How do I do this?

    i also contacted the company that sold me the battery and they offered me my money back or a new battery
    Suggest that you take them up on their offer of a new battery.  Make sure you got the right one for your model MBP. 
    2 separate MBP battery installation Articles:
    1 -
    MacBook Pro: How to remove or install the battery
    2 -
    MacBook Pro: How to remove or install memory
    =================
    Never post your email address in a public forum.  Spam bots roam public forums looking for "spam victims". 
    If you insist on using your email address in a public forum & you want to "trick" the spam bots, then suggest that instead of using "@" in the email address, use instead the actual word AT.
    Regarding responding to your emal addy, we ask that you post all questions to the appropriate discussion forum. This allows other users and other helpers to have a chance to view and respond to your post. That way, everyone benefits from the exchange.
    Thank you
    I have requested that a HOST remove your email addy.

  • Windows Media Player cannot play the file because the required video codec is not installed on your computer

    I can not find solution to the issue "Windows Media Player cannot play the file because the required video codec is not installed on your computer" while attempting to play the file with *.wmv extension. Some computer fail in spite of said missing codec
    being present according the windrows media player in Windows 7 box

    If Rashid's link does not resolve it... consider the below:
    A)  As of this writing, the codec for GoToMeeting webinar recordings ("G2M4" codec) was only mentioned in *one* web page, of about 10 Microsoft web pages I read, to resolve this problem (and that codec is not included, yet, in their diagnostic tool),
    so if you're trying to play a GoToMeeting webinar, simply get the codec for it from their site:  http://www.GoToMeeting.com/codec
    B)  If Windows Media Player (WMP) will not even open the file, you won't be able to get the 4-character codec's name (like "G2M4") from WMP.  But VLC's media player will tell you that code, even when it fails to run the video.... and then you can
    search the internet for it. 
    C)  The problem sometimes is not actually a missing codec.  Other things that have helped others, some from: 
    http://answers.microsoft.com/en-us/windows/forum/windows_7-pictures/the-windows-media-player-12-could-not-play-the-wma/bb823460-44df-4e8d-ba2c-42ec0e111e5a?page=3
    (1) running the System File Checker (SFC.exe),
    (2) opening WMP first (running both the 32-bit and 64-bit versions) then opening the file from inside them,
    (3) confirming that WMP was the file association for WMV files,  
    (4) Control Panel -> Hardware and Sound -> Sound, selecting my audio device, and looking for a "5.1" setting (I didn't have one), to change to "stereo",
    (5) checking Tools\Options\Devices\Speakers\Properties\Speaker Properties\AdvancedPlayback\ Speakers /HP\Properties\Advanced\Default Format, to select "CD or DVD Quality" (if that setting appears for your device),
    Good luck,
    -- Doug
    Doug Ivison

  • I am trying to move my Elements 9 catalog and files from Windows 7 to Mac OSX Yosemite and can't connect the files on the Mac.

    When I try to connect the files to the catalog on the Mac, many (~9000 out of ~12000) files show as can not reconnect. Elements finds "similar" files (actually the files I want) but says they are not the same file. I noticed that many of them have the time parameter different in the file compared to the catalog. If I go ahead and say reconnect anyway, I get another error indicating the the data has been changed by two different sources. If offers the choice of overwriting the file data with info from the catalog (which loses the EXIF data in the file) or says leave the file alone (which loses the keyword metadata from the catalog). Is there any way to get Elements to connect all of these files while retaining all of the EXIF and the keyword metadata without having to re-edit or re-import each of these files? My ultimate aim is to then move all of these photos into the current version of Lightroom on the Mac.

    You won't like this response, but there is no way to simply move any Adobe software installation from one system to another. In part, this has to do with the registration/activation infrastructure that Adobe uses. FWIW, Adobe isn't the only software vendor for which you can't simply move software from one system to another via various migration tools.
    You must totally uninstall from the first system including product deactivation and then install on the new system and reactivate.
    In terms of “fixing” your current system, I would recommend totally uninstalling the software (and deactivating in the process), reboot, and then reinstall from scratch.
              - Dov

  • We just received our new mac and took it to the store to have the old files from our last computer transferred over.  Now we can't find all our files.  There was more then one user on the old machine.  How can we find the files from the other users?

    We need to find where the files for the other user on the computer are now located.  There were two other users on the old machine, which was taken into the store and ALL files were suppose to be transferred over to this computer. HELP!

    It appears what happened is the installer though it was looking at a empty drive and just went ahead and installed.
    I of course am assuming here you didn't use Disk Utility to format the drive first before installing, that would wipe out your files and programs for sure.
    So what to do, what to do.
    Well there is hope for you as long as the drive wasn't Filevaulted.
    I'll explain. When a hard drive writes data for the first time to a drive, it starts at the very top and works it's way down.
    When OS X was installed the first time, it was at the top of the drive, unless you upgraded then the upgraded OS X could have been written elsewhere.
    Now when you just reinstalled OS X, the new OS went on the top of the drive, overwriting any data that was there previously, so what was there you have lost forever which is about 8GB or so. If it was the previous OS there, then your more in luck because only the old OS X was overwritten.
    The remaining space on the drive still can have a copy of your files, provided it's not overwritten yet.
    It's because when a hard drive deletes data or reformats, it doesn't remove the data off the drive or overwrites it immediately, it's just made so it's SPACE is available for new files to be written there.
    So technically one can recover the deleted data off a non-encrypted/scrubbed hard drive with special software.
    The way it does this is it reads the 1's and 0's of the files themselves, and through a lot of figuring out, can tell what that file is and what it belongs too.
    So what you will have to do is this:
    Create a data recovery/undelete external boot drive
    or if you don't have the skills, then take it to a local PC/Mac tech and they can do a direct image of the drive and then you can run Data Rescue on it to rebuild your files.

  • How can I delete all the files in the Adobe CS4 Master Collection from my machine?

    How can I delete all the files in the Adobe CS4 Master Collection from my machine. I have tried Control Panel but it will not do anything, there are no error messages, it is like as if it is ignoring my instruction. Why should it be so difficult to delete programs one does not want. Any ideas please.

    Moved from Cloud forum to Downloading, Installing forum
    Try running the Adobe Cleaner Tool
    http://helpx.adobe.com/creative-suite/kb/cs5-cleaner-tool-installation-problems.html

  • HT1751 After "Restoring iTunes Library Backup" it wont link to the files in the iTunes folder. I've followed the correct procedure, and iTunes lists all my music correctly (but with no artwork), but can't locate any of the files. Using Windows 7. Help ple

    After "Restoring iTunes Library backup" it wont link to the files in the iTunes folder. I've followed the procedure as described, and the iTunes folder is in the correct location. iTunes lists all my music correctly (albeit with no artwork), but can't locate any of the files.
    I've been restoring my iTunes folder from a backup hard drive to a new computer on which I've downloaded the latest iTunes (10.7). If this is a newer version than the one I backed up with could this be the problem? (I had the latest (to my knowledge) iTunes when I backed up the folder about 3 weeks ago, was this version 10.7?)
    Or is the version of iTunes (within recent updates) not an issue when restoring a library?
    Using Windows 7.
    Any help please?

    From the top of the page where the scripts live...
    The general method of use is to download the script to a folder of your choice, e.g. your Desktop, Downloads folder or create a folder at ...\iTunes\Scripts. Select a playlist or highlight some tracks in iTunes and then double-click on the script to execute it. If no specific tracks are selected the script will try to work with all tracks in the current playlist. Some scripts offer a choice of track by track confirmation of changes or fully automatic processing of the selection. Many of the scripts can optionally display a progress bar while running.
    You are strongly advised to backup your entire library, or at the very least the iTunes Library.itl file, before use. Test the behaviour of your chosen script on a small group of files first to make sure it does what you want before applying it to large numbers of files.
    Most builds of Windows will execute *.vbs scripts when you double-click them. If that doesn't happen then you might need to visit the Add/Remove Programs or Programs & Features control panel to enable the Windows Scripting Host. I can track down details if you have issues.
    Backing up and restoring data is an area that is often glossed over. Most people don't try to learn much about it until they've lost something important. (Me too )
    If your iTunes library was in the usual layout then normally copying the whole iTunes folder from the User's Music folder in the old computer to the User's Music folder in the new one will usually work fine. Ideally this is done before iTunes is installed so that there is no empty library to replace, and all settings are picked up from the old library. This post contains more details.
    tt2

  • Can somebody can tell me is CC for team can support to save the files in the local area without using the cloud ?

    Can somebody can tell me is CC for team can support to save the files in the local area without using the cloud ?

    The desktop applications are still installed on your computer, and the files are also saved on your computer.
    Optionally you can upload files with a browser to https://creative.adobe.com/files, or sync up files using the file sync that is part of the Creative Cloud desktop application. The online file storage is private to you, no one else can see it your files.
    If you do want to share your files there are two options:
    You can Collaborate, which is sharing a folder with another Adobe ID. Only the person you collaborate with can see the folder.
    You can use Send Link to send a publicly accessible url to a file or folder.

  • If i create a partition for Windows 7, and boot up in Windows using Boot Camp, can I still access the files from the Mac partition (Photo's Music etc.)

    If i create a partition for Windows 7, and boot up in Windows using Boot Camp, can I still access the files from the Mac partition (Photo's Music etc.)

    JDFitch wrote:
    Ok Great,
    Will installing Boot Camp drivers allow me to both read and write to the OS X Volume from windows?
    This is important as if it will it means i can make the windows partition a lot smaller and keep all my files on the OS X partition which would be preferable.
    Jon
    No, OSX will be read only (from Windows) and vice versa. (you can install 3rd party utilities on either or both partitions, to make read/write possible)

  • Excel cannot open the file because the file format or file extension is not valid

    pls help 

    Hi,
    In regarding of the issue, please provide us more information to assist you better.
    Which Office version are you using? Office 2013 or other.
    Did the issue occur with the special file or every file?
    Then, based on your error message, this problem has been confirmed to be caused by malware on the affected machine. There are now two known variants of malware which causes this problem: Win32/Crilock.A and
    Win32/Buma!rts. They have both been identified as a new family of ransomware.
    In order to clean your machine, run Microsoft Safety Scanner (http://www.microsoft.com/security/scanner/en-us/default.aspx). If infected, Safety Scanner should clean the virus from
    the system, however it will not repair corrupted files. You will still need to restore those from a backup. A detailed analysis of affected files submitted to Microsoft for investigation has revealed the files are encrypted with a private
    and public key. The files cannot be recovered without the private key, which is more than likely held by the attacker. The premise of ransomware is such that if a person pays the ransom the key is provided to "unlock" the files.
    For more detail information, please refer to the following link:
    http://blogs.technet.com/b/the_microsoft_excel_support_team_blog/archive/2013/09/07/quot-cannot-open-the-file-because-the-file-format-or-extension-is-invalid-quot-opening-office-files.aspx
    Regards,
    George Zhao
    TechNet Community Support
    It's recommended to download and install
    Configuration Analyzer Tool (OffCAT), which is developed by Microsoft Support teams. Once the tool is installed, you can run it at any time to scan for hundreds of known issues in
    Office programs.

  • Help!! - "The HP Scan Application was unable to save the file to the specified location."

    New OJ6830, latest HP software installed on Win7 64 bit.
    HP Scan scans and displays the scanned pages.  But, when I try to save the file as a pdf or tiff, I get the following error message:
    "The HP Scan Application was unable to save the file to the specified location."
    BTW, I have tried running the app as Administrator and have disabled my antivirus software.
    Why won't the HP scan app save the file?  Has anyone else seen this error message?
    Is there anything else I can do, or this this just a major bug in HP scan software?

    Mike,
    One Idea:
    Make sure you have "San Preview" checked else the software will not accept "specified location".
    Reference:
    Save Scan to Specified Location
    Click the Kudos Thumbs-Up to say Thank You!
    And...Click Accept as Solution when my Answer provides a Fix or Workaround!
    I am pleased to provide assistance on behalf of HP. I do not work for HP. 
    Kind Regards,
    Dragon-Fur

  • I need to convert PDF file to Word Document, so it can be edited. But the recognizing text options do not have the language that I need. How I can convert the file in the desired of me language?

    I need to convert PDF file to Word Document, so it can be edited. But the recognizing text options do not have the language that I need. How I can convert the file in the desired of me language?

    The application Acrobat provides no language translation capability.
    If you localize the language for OS, MS Office applications, Acrobat, etc to the desired language try again.
    Alternative: transfer a copy of content into a web based translation service (Bing or Google provides a free service).
    Transfer the output into a word processing program that is localized to the appropriate language.
    Do cleanup.
    Be well...

Maybe you are looking for