How to replace a program version with a cvs version??

Hello all,
I'm using amule-cvs make with this PKGBUILD:
pkgname=amule
pkgver=cvs
pkgrel=5
pkgdesc="aMule is a eMule-like client for ed2k p2p network"
url="http://www.amule.org"
license="GPL"
depends=('wxgtk' 'curl>=7.12.0' 'libjpeg' 'libtiff'
         'perl' 'x-server' 'gd>=2.0.0' 'crypto++')
source=(http://www.hirnriss.net/files/cvs/aMule-CVS-20050315.tar.bz2)
build() {
  cd $startdir/src/amule-$pkgver
  ./configure --prefix=/usr --disable-embedded_crypto --enable-amulecmd --enable-webserver --enable-optimise --enable-amule-daemon
  make || return 1
  make prefix=$startdir/pkg/usr install
And works well, but the problem is when i do a "pacman -Su" it say that want to install (upgrade) amule-cvs with amule-rc8.
What can i do in my PKGBUILD for solve it??
may be the option "replaces=()" that i can see in PKGBUILD.proto??
Thanks

I made this but could'nt find anywhere to post it - it automaticaly sets the date as the pkgver and updates the PKGBUILD afterwards:
# Contributor: dibblethewrecker dibblethewrecker.at.jiwe.dot.org
pkgname=
pkgver=
pkgrel=
pkgdesc="This will checkout and package the latest CVS version."
url=
license=
depends=()
provides=()
conflicts=
makedepends=('cvs')
cvsmod=""
cvsroot=""
build() {
cd $startdir/src
touch ~/.cvspass
cvs -d $cvsroot login
msg "Connecting to $cvsmod CVS server...."
cvs -z3 -d $cvsroot/$cvsmod co $cvsmod
cd $cvsmod
./autogen.sh
msg "CVS checkout done or server timeout"
msg "Starting make..."
rm -r ../$cvsmod-build
mkdir ../$cvsmod-build
cd ../$cvsmod-build
../$cvsmod/configure --prefix=/usr
make || return 1
make DESTDIR=$startdir/pkg install
# Correct the pkgver in our PKGBUILD - this allows correct gensync operation
# NOTE: pkgver variable must be declared with first 10 lines of PKGBUILD!
cd $startdir
old_pkgver=$pkgver
pkgver=`date +%m%d%y`
sed -i "1,11 s|pkgver=$old_pkgver|pkgver=$pkgver|" ./PKGBUILD
# vim:syntax=sh

Similar Messages

  • Ever since Firefox 3, I have never been able to upgrade easily. I always get a message telling me I am replacing my version with an older version. How is that possible?

    When I download the newest version (this time it was 5, but I had the same problem with 4) and I drag the Firefox Logo to my Applications folder in Mac OSX (10.6.7) I get a message saying I am replacing my version with an OLDER VERSION. How can this be? When I check the Firefox "About" tab, it tells me I am still using 4, so how, if I just dragged 5 to my Applications folder, can I be replacing 4 with an "older" version? Truth be told, my Firefox has never functioned properly since 4, and now I have little "Firefox hard drive icons" all over my desktop. What happened?
    I am having trouble with Comcast's XFINITY and they told me to update and maximize my browser. I don't seem to be able to do that. I just downloaded Firefox 5.0, but my version still says 4.1.

    When I download the newest version (this time it was 5, but I had the same problem with 4) and I drag the Firefox Logo to my Applications folder in Mac OSX (10.6.7) I get a message saying I am replacing my version with an OLDER VERSION. How can this be? When I check the Firefox "About" tab, it tells me I am still using 4, so how, if I just dragged 5 to my Applications folder, can I be replacing 4 with an "older" version? Truth be told, my Firefox has never functioned properly since 4, and now I have little "Firefox hard drive icons" all over my desktop. What happened?
    I am having trouble with Comcast's XFINITY and they told me to update and maximize my browser. I don't seem to be able to do that. I just downloaded Firefox 5.0, but my version still says 4.1.

  • How to replace # or Not assigned with blank in BEx Query Output.

    Hi,
    While running the query through BEx Query desginer or Anlayser, I am getting # or Not assigned where there are no values.
    The requirement is to "Replace # or Not assigned with a blank" in the output.
    I want to know, is there any setting in BEx query desginer where we can do this. How to do this.
    Please share your inputs on this. Any inputs on this would be appreciated.
    Thanks,
    Naveen

    Check out SDN-thread: "Re: Remove 'Not assigned'" for more details
    Ideas from SDN research:
    "a solution i have used is to put each RKF column in a CKF colum then in each CKF use RKF + 0, the outcome is that your # should now be 0s, in the query properties you can set the option to display 0s as blank."
    "try to enter a text for the blank entry in the master data maintenance of the relevant objects and set the display option for the objects to 'text'."
    Threads:
    SDN: How to replace # or Not assigned with blank in BEx Query Output.
    SDN: Re: Remove 'Not assigned
    SDN: How to replace # or (Not assigned) with blank in BEx Query Output.
    SDN: Bex Analyzer : Text element system's table ?  
    SDN: change message in web application designer ["nonavailable" ->  136 of SAPLRRSV]
    SDN: Not Assigned ["Not Assigned -> 027 of SAPLRRSV]
    SDN: replacing '#'-sign for 'not assigned' in queries
    SDN: # in report when null in the cube
    SDN: How to replace '#' with blank when there is no value for a date field
    Edited by: Thomas Köpp on Sep 13, 2010 5:20 PM

  • I have down loaded a track which was initially missing 1min 30 seconds. iTunes enabled my to reload the rack which is complete on the PC. However, syncing with my Ipad2 does not seem to replace the incomplete version with the full version. Thanks S

    I have down loaded a track which was initially missing 1min 30 seconds. iTunes enabled me to reload the rack which is now complete on the PC. However, syncing with my Ipad2 does not seem to replace the incomplete version with the full version.  Can anyone out there help?
    Thanks S

    Thanks for the response. Unfortunately, I've un-checked the track and re-synced the Ipad as suggested, but then re-checking and re-syncing han no effect. The track is still missing the final minute and a half or so. I've tried it twice, but the effect is the same.
    Any other ideas? Would un-checking the entire music collection and staring again work, or is that a road to disaster?

  • How do I repeat the artist with the new version of itunes?

    How do I repeat the artist with the new version of itunes?

    Use the controls menu or right-click on the shuffle widget for options. Options are to repeat one, all or off. Use the column browser, artists view or search box to limit the display and then use repeat all.
    tt2

  • How to compile a java file with specified jdk version in a program???

    hi,
    if we want to compile a program in another program with a particular
    jdk version as an option, how to do that,plz reply and with example.

    Hi,
    To compile from a program, read this (I've never tried, but I think it
    will work):
    http://java.sun.com/j2se/1.4.1/docs/api/java/lang/Compiler.html
    To get the jre version:
    System.getProperty("java.version");
    To get the vm version:
    System.getProperty("java.vm.version");
    Other properties at:
    http://java.sun.com/j2se/1.4.1/docs/api/java/lang/System.html
    Hope it helps,
    ANeto

  • How to replace typewriter (straight) apostrophe with typographic (curly) apostrophe?

    I have a manuscript I got off the Internet that has a bunch of isn?t's and wasn?t's and the like—due, I assume, to some miscommunication between MS Word's automatic curly quotes and the ASCII limits of ISO Latin 1. I tried doing a find-and-replace to put typographic apostrophes in place of the question marks. Pages found the question marks and put typewriter apostrophes in place of them, though I'd carefully entered a typographical apostrophe ((opt-shift-]) in the Replace field. So I tried again, to replace the typewriter apostrophes with typographical apostrophes. Pages now replaced the few typographical apostrophes I'd manually entered with typewriter apostrophes. Well, at least it's consistent. So far as Pages, Apple's flagship word-processing/page-layout app is concerned, there's apparently no such thing as a typographical apostrophe—something that was understood, as I recall, by the original MacWrite 25 years ago. So do I have to go back to doing all my editing in TextEdit (which seems to be much better at text work than Pages), or can somebody tell me how to persuade Pages to take care of this trifling little task correctly?

    Copy these two paragraphs into a Pages WP document:
    When you?re sleep deprived… parental control of baby?s sleep… meet baby?s needs consistently… respond to baby?s cries…
    "Parents should recognize that having their babies cry unnecessarily harms the baby permanently," Commons said. "It changes the nervous system so they?re overly sensitive to future trauma."
    Open the Find & Replace dialog. Enter Find: ? and Replace: ’ (opt-shift-}). (I.e. replace question mark with typographical apostrophe.) Click Replace All. It should say 5 Replaced. Check any of the replacements by enlarging the type; you’ll see an ASCII apostrophe ['] rather than the requested typographical version [’].
    Then enter Find:  " (space-") and Replace:  “ (space-opt-[), and click Replace All. It will say 1 Replaced, meaning the quote mark preceding "It" in the second sentence (the only quote mark preceded by a space). Enlarge the replacement to see it clearly; it's replaced an ASCII " with another ASCII ".
    So far as I can tell, Pages’ Find-Replace function can't tell the difference between ASCII apostrophe/quote marks and the typographical versions. Maybe it will once you turn on smart quotes in preferences; I haven't tried that -- but then of course you'd get smart quotes when you don't want them, for instance for something to be posted on an Internet forum, which often doesn't understand them. (The problems above and similar, often seen on the 'Net, are due to MS Word's having smart quotes on by default, so unaware users compose material with them and send it out over teh Interwebz, where they sometimes come through correctly, sometimes don't.)
    Try the same experiment in TextEdit; you'll get the requested typographical versions. And so I did, then copied the text back to Pages. Like I said, kinda shoddy for Apple's Pride & Joy word processor. AppleWorks, by the way, does it right.

  • How to replace a particular striing with another string in jtextpane

    how to get replace a particular string with another string of a jtextpane without taking the text in a variable using getText() method .

    Thanks for your answer,
    "relevant object" means for you datasources, transfer rules and transformations ?
    With the grouping option "Save for system copy" I can't take easily all datasources, and others objects
    Will I have to pick all object one by one ?
    What would be the adjustement in table RSLOGSYSMAP ? For the moment it's empty.
    Regards
    Guillaume P.

  • Replacing the cookies file with a previous version

         I have a corrupted cookies file, as far as I  an see.  I want to replace it with a previous version--I have time machione.  Where in the library files is the cookies file located?

    Hi
    Home/Library/Cookies/Cookies.plist

  • How to replace JMS Msg id with My own customer ID??

    Hi Frnds,
    I am working one one scenario using JMS Adapter, when i am placing message in Quese,JMS adapter genarating MSG msg id,but i ahve to add my own id its custiomer specific,how to replace JMS Msg id??
    thanks,
    Raj

    Hi,
    found this in SAP help:
    Correlation Settings
    Define which algorithm is to be used to create the message ID of a new XI message. The prerequisite for selecting an ID is that it is a GUID (globally unique identifier) according to ISO-11578.
    If the message ID is not a GUID, message processing will fail. This can cause message duplicates if the ID is not unique. Furthermore, if the GUID does not conform to ISO-11578, this can trigger a GUIDFormatException.
    Set XI Message ID (MessageID) To:
    -         GUID (Recommended Value)
    -         JMSMessageID (Uniqueness Is JMS-Provider-Dependent)
    -         JMSCorrelationID (Uniqueness Is JMS-Sender-Dependent)
    -         JMSProperty (Uniqueness Is JMS-Sender-Dependent)
    Enter the JMS Property Name. This value is set for the XI message ID.
    If the JMSCorrelationID or JMSProperty are not set in the JMS message, a message ID is generated automatically.
    If you have selected JMSMessageID, JMSCorrelationID, or JMSProperty and entered a JMS message ID in these fields, you should see the Remove 'ID:' Marker from JMSMessageIDindicator. Set the indicator.
    This is necessary because the JMS specification stipulates that each JMS message ID starts with 'ID'. However, this conflicts with ISO-11578.
    Set XI Conversation ID (ConversationID) To:
    -         No value
    If you choose this setting, the XI conversation ID is not set.
    -         JMSMessageID (Uniqueness Is JMS-Provider-Dependent)
    -         JMSCorrelationID (Uniqueness Is JMS-Sender-Dependent)
    -         JMSProperty (Uniqueness Is JMS-Sender-Dependent)
    Enter the JMS Property Name. This value is set for the XI message ID.
    -         Stored JMSCorrelationId of request
    The saved JMSCorrelationID of the request is used.

  • How to replace child's face with closed eyes?

    Using Aperture 3.....I have a great photo of my family, however one child's eyes are closed. How can I replace her closed eyes with another shot of the child with eyes open? I've toyed around with the adjustments and can't figure it out! Please help!

    Pretty sure that you are only going to be able to do this via another application that allows you to have layers such as photoshop or gimp.
    Tony

  • How to edit webvpn login page with 7.2 version in ASA5510?

    Dear guys,
    As a solution for business, I have deployed webvpn with 7.2 version in ASA5510(Version 8.0 cannot be used in this case). Could you share some experiences in customizating login page of webvpn manually(not use ASDM)? for example, if I want to add some system tips or links in login page, how to do?
    Appreciate your kindly help and suggestion.
    Best Regards,
    David Wu

    Customizing login page of webvpn with 7.2 version of ASA is easy to be done and the following Url contains the dcument for customizing the webvpn login page for ASA version 7.2:
    http://www.cisco.com/en/US/docs/security/asa/asa72/configuration/guide/webvpn.html#wp1031868
    This document contains the step-by-step procedure for customizing the login page.

  • Is it possible to replace my W520 screen with new IPS version?

    My W520 laptop continues to give good reliable service. \
    However I now look with envy the latest versions that use IPS screens. This is important to me as I am a pro photographer.
    I would like to know if is possible to upgrade/replace my existing screen with the latest tech... namely the 3K (2880 x 1620), IPS LED Backlit Anti-Glare Display?
    Is it possible for me to order the part and simply replace it together with the required drivers?
    Thanks

    Someone used an LVDS to eDP adapter to get a newer eDP 1080p IPS panel working in a LVDS connected X220.
    AFAIK, no one's done it for the W520. The extra hurdle is that the 3K resolution probably exceeds the bandwidth of LVDS. No guarantees either way.
    W520: i7-2720QM, Q2000M at 1080/688/1376, 21GB RAM, 500GB + 750GB HDD, FHD screen
    X61T: L7500, 3GB RAM, 500GB HDD, XGA screen, Ultrabase
    Y3P: 5Y70, 8GB RAM, 256GB SSD, QHD+ screen

  • How use replace all grid row with variable value

    hi master
    sir i have master detail form
    in detail form i have 5 column grid thate have 25 row at time
    one column name id
    such as id have value 23
    but i want replace all id row with 555
    how i replace all id in grid with 555 befor commit_form
    how i use loop for grid
    or any other method
    please give me idea
    thank's
    aamir

    Go_Block('Detail');
    First_Record;
    Loop
      :detail.item := '...' ;
      Exit when :system.last_Record = 'TRUE' ;
      Next_record;
    End loop;
    First_Record ;Francois

  • Help with replacing an Adobe XI with an older version on Windows8

    I have Windows 8, Adobe Export PDF (which is an essential for me), and Adobe Reader XI. An online course that I am taking requires that I uninstall Adobe XI, and replace it with an older version (10.1.4?) in order to access class online textbooks. I am concerned and wondering if it will affect my Adobe Export or if it is compatible with Windows 8. Help? I want to try to find out if I will be facing any issues before I start messing with things.

    What is the problem with the Reader XI accessing these online docs?  All Reader versions should be fully backwards compatible.  Also I don't think Reader X was tested on Windows 8.
    However, if you really want to install Reader X, uninstall XI (from Control Panel, or using http://labs.adobe.com/downloads/acrobatcleaner.html), then download/install Reader 10.1.4 from http://get.adobe.com/reader/enterprise/ and update it to 10.1.9.

Maybe you are looking for