[Solved]Do you need just a PKGBUILD file to install an AUR app?

I've long wondered whether or not one needs to actually download a tarball in order to build a package from the AUR.  Some people have posted here on the forum that all you need to do is download the PKGBUILD file and run "makepkg -i PKGBUILD."
I have tried this a few times but everytime I had to download the tarball or I got an error when I run "makepkg."  IE, the last error I got was "(app name's) install file doesn't exist."  Am I just fundamentally stupid or ignorant?  I have looked at the wiki pages for the docs about the AUR and the "make your own packages" page as well as the makepkg page.  I have yet to see where in those pages it says you can just use the PKGBUILD file alone. 
MS
Last edited by MoonSwan (2012-07-25 20:43:31)

https://wiki.archlinux.org/index.php/AU … g_packages
Was this not clear enough?
Here's a neat trick: place the following in /etc/bash.bashrc (or ~/.bashrc, if you want) and then restart the terminal.
alias e='nano -x'
# For AUR packages
ia() {
cd ~/.builds
wget -q "https://aur.archlinux.org/packages/${1:0:2}/$1/$1.tar.gz"
tar xf "$1.tar.gz"
rm "$1.tar.gz"
cd $1
ls
alias m='makepkg -s'
alias I='sudo pacman -U'
alias Ii='sudo pacman -U *.xz'
Then, to install, say, bloboats you can just type:
$ ia bloboats
$ e PKGB[press Tab]
<see that it's all good and no "rm -rf /" anywhere (lol), which implies at least a basic understanding of how scripting works>
$ m
$ Ii
$ bloboats
Have fun.
PS: This method is better than using some AUR helper; at least you're aware of what you're installing. And with minimal typing.
Last edited by DSpider (2012-07-25 19:53:11)

Similar Messages

  • DSX-S310BTX Media Player: How Do You Need To Label mp3 Files On Flash Drive To Search Internal USB?

    I have a DSX-S310BTX Media Player.  I'm connecting a Flash Drive to the Internal USB port of this device.  On the flash drive the mp3 files are labled by Title, Contributing Artist and Album.  However, when a song is playing, the main display doesn't show the name of the song, and I can only do a "File & Folder" search by individual songs, but not by artist or album.  Is there a specific way I need to label the files on the flash drive to be able to search the flash drive by song, artist and album?

    Hi Triton,
    You may try renaming files in your USB flash drive by title of the song first.
    Thanks.
    >joffrey
    If my post answers your question, please mark it as "Accept as Solution"

  • [SOLVED] Terminator, "you need to install python bindings for libvte"

    Upgrade terminator to 0.96-3, with new dependency to vte3.
    It suggested to remove vte, which is not needed any more. So I followed the suggestion.
    Then I can't open terminator! Got a error dialog "You need to install python bindings for libvte".
    Finally, I installed the vte package to fix it.

    Indeed, vte is still required.

  • HT3702 Do you need to have money on your card to download apps

    Do you need to have money on your credit card to download apps from app store?

    Not if you have enough store credits..

  • Do image files adjusted in Lightroom transfer to another computer if you need to reload the files?

    I'm used to making adjustments in Camera RAW and copying the image files for use on multiple workstations.  In this case, my adjustments go with the image file.  If I make my adjustments using Lightroom and move the image files to another computer will I lose those adjustments?  I wonder if I invest all my adjustment time using Lightroom and my computer crashes will I lose those adjustments even though I am backing up my files to an external drive.

    You wrote: " If I make my adjustments using Lightroom and move the image files to another computer will I lose those adjustments?"
    Yes, you will loose them unless you save to xmp. You save to xmp by either pressing Ctrl / Cmd + letter "S"  or
    a) in the Library Module you go >Metadata >Save Metadata to File, or
    b) in the Develop Module you go >Photo >Save metadata to file.
    Without <Saving metadata to file> Lr writes the edits into the catalog only. And, if you transfer images without the catalog to another computer your edits will be lost on the second computer.
    By <Saving metadata to file> a xmp sidecar file will be created that stores the edits. In case of a DNG the edits are not written into Xmp but into the file header - same effect.
    Note though that not everything can be stored in xmp-files. For instance collections, stacking are stored in the catalog only.
    This is presumably so because the save to xmp was created in order that Lr adjustment can be viewed in other Adobe products (for instance in Bridge). Naturally, only those "features" need to be written into xmp that the other program can display.
    WW

  • You need to download a file

    http://ftpna2.bea.com/pub/WLAS/40/SQLServer2000_WLPortal40.zip

    Thanks for the quick help.
    Regards,
    Sudarson
    "WangSong" <[email protected]> wrote:
    >
    http://ftpna2.bea.com/pub/WLAS/40/SQLServer2000_WLPortal40.zip

  • FCS 2 upgrade- do you need the original prog to be installed?

    I'm just about to take delivery of a brand spanking new Mac Pro, 3.2GHz etc (and very excited I am).
    Planning to install FCS2 as an upgrade from my existing copy of FCP3. Will the FCS2 upgrade package require that FCP3 is installed on the machine already, or does the upgrade package simply require the licence number from the version that I'm upgrading from?

    You don't need the older version installed ... just enter the serial number from the older version when prompted.
    To expound on what Dvaid Lsater said, if you upgraded from FCP 3, it would not be legal to sell that version after upgrading from it.
    -DH

  • I need the windowns ISO file to install windows 7 via bootcamp on my MBA. i have the windows 7 home install disc...how do i find the ISO file

    where do i find the ISO file needed to install windows 7 home via bootcamp??

    try asking in the Boot Camp forum: https://discussions.apple.com/community/windows_software/boot_camp.  Good luck.

  • TS1702 several App's frozen just locked on Waiting or installing ? Deleted app but when you go to App Store still there installing

    My wife's iPad has several app's frozen they just say installing, I have deleted them but when you go to reinstall the app it still shows installing how do you unlock
    The installing or waiting, iPad is still connected to wifi

    Update/Download the apps using iTune (computer) and sync to iPad.

  • I am having iPod touch 4g with ios 6.1.3 and can you please help me in BBM install when I click on install button it says that you need GPS please help me To install my BBM

    Apple inc. can you please help me to install BBM in iPod touch 4g

    BBM is only compatible with devices that have cellular/GPS radios. The iPod does not have these.
    The BBM app says:
    Compatibility: Requires iOS 6.0 or later. Compatible with iPhone, iPad 2 Wi-Fi + 3G, iPad Wi-Fi + Cellular (3rd generation), iPad Wi-Fi + Cellular (4th generation), iPad mini Wi-Fi + Cellular, iPad Air Wi-Fi + Cellular, and iPad mini with Retina display Wi-Fi + Cellular. This app is optimized for iPhone 5.
    https://itunes.apple.com/us/app/id690046600?mt=8

  • Why do you need to put credit card details in to the app store when you may want to simply obtain free items in the beginning?

    Apple clearly is a leader and thankfully are bringing fantastic products and initiatives to the market. 
    I certainly hope that the company doesn't get arrogant like it seems to do when forcing people trying to get free apps to put in credit card details. 
    I suspect it wouldn't be too much work to allow users to try it out first by using some free apps and when they are personally ready they can purchase to their little hearts desire.
    Poor showing from this perspecitive and easy to fix.

    Never put your credit card info into iTunes as Apple credit card security is horrible.  There are many cases of credit card problems with Apple. My credit card was compromised 2 weeks after creating an Apple account. That was the ONLY online usage of my credit card. 
    Apple does NOT follow PCI compliance which is the credit card industry standards for credit card data protection.  It requires all companies to NOT store credit card information online because (surprise, surprise Apple!) it can be hacked. 
    Why does Apple need to store the credit card data and put the information at risk and why do they not follow industry (PCI Compliance) guidelines - especially for free aps or updates?

  • You need to save a txt file

    Does 10.7 offer a clue or button in the menu bar that you need to save the file?

    Yes, if you close the window or choose to Save it a dialog box should appear?
    Choices on "File" menu.

  • WhAT IS NEEDED TO PLAY M3U FILES?

    What is needed to plAY M3U AUDIO FILES?

    Hi,
    "A .m3u file is a playlist file - it does not contain any actual media. It simply serves as a pointer to several different media files. In order to open a .m3u file, all the media files that it points to must be in the location the file points to. Without having the actual file, it would not be possible to tell you which files need to be where. Assuming the media files being pointed to are in the correct location, media players such as Windows Media Player, Winamp and VLC Media Player should all be able to play them, assuming the file types of each file are supported by that player."
    Source: http://wiki.answers.com/Q/How_you_can_play_m3u_file
    Because it is a list, you need actual audio files in there to be able to play. For example, the list contains 5 files 1.mp3, 2.mp3, 3.mp3, 4.mp3 and 5.mp3. You need all five mp3 files to be able to play. You can open using VLC and you can download VLC from the following link:
       http://www.videolan.org/vlc/index.html
    Regards.
    BH
    **Click the KUDOS thumb up on the left to say 'Thanks'**
    Make it easier for other people to find solutions by marking a Reply 'Accept as Solution' if it solves your problem.

  • Pdf files open with question marks(??) in preview, need to view the file asap

    help me to solve this problem, need to view this files asap.

    Clear the cache and the cookies from sites that cause problems.
    "Clear the Cache":
    *Tools > Options > Advanced > Network > Offline Storage (Cache): "Clear Now"
    "Remove Cookies" from sites causing problems:
    *Tools > Options > Privacy > Cookies: "Show Cookies"
    Start Firefox in <u>[[Safe Mode]]</u> to check if one of the extensions or if hardware acceleration is causing the problem (switch to the DEFAULT theme: Firefox/Tools > Add-ons > Appearance/Themes).
    *Don't make any changes on the Safe mode start window.
    *https://support.mozilla.org/kb/Safe+Mode
    There are other things that need your attention.
    Your above posted system details show outdated plugin(s) with known security and stability risks that you should update.
    *Shockwave Flash 10.0 r32
    Update the Flash plugin to the latest version.
    *http://kb.mozillazine.org/Flash
    *http://www.adobe.com/software/flash/about/

  • Write a PKGBUILD file for a binary software

    Hello for all ,I need write a PKGBUILD file for crate an arch-package of bmrt software .I dont understand to much the rules for write a PKGBUILD , but I imagina that is possible write a PKGBUILD file for a compiled software , I look for a document that explain in detail the reference for the sintax in the PKGBUILDS files,Any bode know that?

    You might look at some of the examples that do this already, either in AUR or ABS.
    Some examples:
    various games
    j2re
    flash-plugin
    opera
    acroread
    if you run the command 'abs' as root, you can find these PKGBUILDs in subdirectories of /var/abs.  Hopefully you could adapt one of those to your binary program.
    Dusty

Maybe you are looking for

  • No data in the Report, wich is based on a mp,

    but data is exist in the cube and this cube has selected in that multi provider.

  • Windows 8.1 UI in boot camp faster than Yosemite UI

    I'm slowly beginning to think I'm going to bin my late 2010 17in Macbook Pro. Since moving up to yosemite the UI responsiveness and smoothness had dropped significantly. The only way to speed things up slightly is to reduce transparency and enable hi

  • Window Navigation In Web Dynpro ABAP

    In one of our requirements we would have to make use of the suspend plug in Web Dynpro Abap. Would anyone happen to have any other information on this topic. Is there a sample program available which demonstrates the same? The requirement is that, I

  • Camera raw 6-7 beta and + win7 64

    cameraraw6-7_r1_win_030612 won't install on my Win7x64 machine I extracted the zip to a folder on my desktop, selected & doulble cliked AdobePatchInstaller, selected "RUN" and I get "error loading updater workflow" Did I get the wrong thing? Is there

  • R/3 jobs from BW

    Hi, Is there any way we can run a R/3 job from a BW process chain? We are working with IS/U and CRM as source systems for BW. Some of the data we need to load, has to be generated by a job in the source system. We have had some problems when the sour