[SOLVED]openstudio is a new AUR package, requesting review of PKGBUILD

Hi,
I have been working on a simple desktop environment for Arch Linux, called OpenStudio.se . This is the first time I have made a PKGBUILD and it would be great if anyone with some more experience could help me verify that the PKGBUILD is correct. I have tested it on both x86_64 and x86 systems and it works well and the package installs correctly with pacman.
If you want to check out the desktop environment, visit www.openstudio.se
BR
Mikael
Here is my PKGBUILD :
# Maintainer: Mikael Nordvall <[email protected]>
pkgname=openstudio
pkgver=0.4
pkgrel=1
pkgdesc="Scripts to install and configure a simple, lightweight desktop environment for Arch Linux"
arch=(any)
url="http://www.openstudio.se/de/"
license=('GPL3')
source=(http://www.openstudio.se/de/source/$pkgname.tar.gz)
md5sums=('dc085cf28b74a541833a680603fa85be') #generate with 'makepkg -g'
package() {
mkdir $pkgdir/etc
mkdir $pkgdir/etc/openstudio
mkdir $pkgdir/usr
mkdir $pkgdir/usr/bin
mkdir $pkgdir/usr/share
mkdir $pkgdir/usr/share/man
mkdir $pkgdir/usr/share/man/man1
cp -r $srcdir/$pkgname $pkgdir/usr/share/
cd $pkgdir/usr/share/$pkgname/
cp ./scripts/openstudio $pkgdir/usr/bin/
cp ./library/manpage/openstudio.1.gz $pkgdir/usr/share/man/man1/
Last edited by zkeng (2011-10-09 10:27:25)

Thank you very much for the input Stefan. I will update the PKGBUILD according to your suggestions.
About the empty dir /etc/openstudio
The openstudio package contains a system configure script. When executed this script will set-up some global config files (shared for all users) in this dir. The reason why I created it already during installation is because I do want it to be removed if you decide to remove the openstudio package. The reason why it is empty at the beginning is because I do not want to over-write its content when openstudio package is upgraded.
Maybe there is another standard way of solving this kind of issue, but to avoid the error you mentioned about an empty dir I made sure an info file is copied to the dir during install.
New PKGBUILD (with new md5sum) :
# Maintainer: Mikael Nordvall <[email protected]>
pkgname=openstudio
pkgver=0.4
pkgrel=1
pkgdesc="Scripts to install and configure a simple, lightweight desktop environment for Arch Linux"
arch=(any)
url="http://www.openstudio.se/de/"
license=('GPL3')
source=(http://www.openstudio.se/de/source/$pkgname.tar.gz)
md5sums=('4f9dec211a1b082d91251fa0e73810db') #generate with 'makepkg -g'
package() {
install -d $pkgdir/usr/share
cp -r $srcdir/$pkgname $pkgdir/usr/share/
cd $pkgdir/usr/share/$pkgname/
install -Dm755 ./scripts/$pkgname $pkgdir/usr/bin/$pkgname
install -Dm644 ./library/config/readme_etc_$pkgname \
$pkgdir/etc/$pkgname/readme_etc_$pkgname
install -Dm644 ./library/manpage/$pkgname.1.gz \
$pkgdir/usr/share/man/man1/$pkgname.1.gz
Last edited by zkeng (2011-10-08 18:48:59)

Similar Messages

  • My new AUR package, please review it

    My first package
    I created a package for paint.mono a paint.net port to mono and I would like some feedback on it
    The link to the package: http://aur.archlinux.org/packages.php?ID=17363
    paint.mono isn't stable so don't mind the crashes...
    Last edited by raca (2008-06-06 23:27:19)

    In general it is a good first PKGBUILD.  Here is a few quick comments:
    - Licenses: MIT is not a standard license so you need to install a copy of it into /usr/share/licenses/${progname}/.  Run "pacman -Ql licenses" to see what licenses are installed as standard.  You should also use "CCPL:cc-by-nd" to match the license package too
    - Empty fields: remove groups=(), repaces=() etc.
    - Long lines:  you can split those long install lines over two lines.
    - Install: you don't really need the echo line there
    - Desktop file:  use destop-file-validate (from desktop-file-utils) to check this.

  • [SOLVED] Any guidelines for changing AUR package name?

    I have TTWM in the AUR, and I'm changing the name to Alopex.
    I can revise the PKGBUILD to change the name, and put ttwm-git in the "replaces" and/or "conflicts" array, but when I submit this to the AUR will there then be two AUR packages?
    There is no need for the ttwm-git package to remain in the aur as they will be identical - it's just a name change.  I don't want to needlessly clutter the AUR, so if there are any guidelines or best practices for renaming AUR packages, let me know.
    Last edited by Trilby (2013-04-20 11:12:07)

    If the wiki is unclear, please edit it https://wiki.archlinux.org/index.php/AUR#Other_requests
    Package merging has been implemented, users still have to resubmit a package under a new name and may request merging of the old version's comments and votes on the mailing list.

  • [SOLVED] yaourt how to update aur packages

    Hi!
    I got a quick question. I thought that yaourt is able to update old packages installed from Aur automatically.
    So for example I type as usually yaourt -Syu --aur but I noticed it doesn't show AUR packages I can update. Only from core/extra/community
    For example I just typed:
    yaourt yaourt
    1 aur/yaourt 0.9.2.6-1 [0.9.2.5-1 installed] (2406)
    and see that I can update yaourt. I have other packages installed from AUR, how do I know that a newer version is available without checking it manually?
    edit:
    so I am happy to mark it as solved. It wasn't a bug, but it is a way how yaourt works.
    yaourt -Syu --aur shows packages from core/extra/community.
    If I press Y (to install them). It shows a list again with the information how much to download and install and then after pressing "No" to install them, yaourt continues to check AUR packages in this case.
    Julien MISCHKOWITZ, the developer said he could change the behavior
    Thanks everyone for the attention!
    Last edited by ngsupb (2009-08-21 13:15:09)

    shining wrote:yaourt has a bug tracker : http://bugs.archlinux.fr/index/proj3?or … &sort=desc
    Thank you shining. I have opened a ticket there. Lets wait, I hope they can help!

  • [Solved] Cant install\compile certain AUR packages

    This is a brand new 32-bit build on my laptop. Everything is working great, but for some reason I cant get some AUR packages. I have Yaourt, pacman-color, and slock installed from AUR and working fine, but I cant get mpd-git or mplayer-svn installed? I have gcc, python installed and tried both root and user accounts. Not sure what is missing. This is a new dual core laptop so not sure why I am getting the CPU errors below?
    This is for mplayer-svn:
    ==> SVN checkout done or server timeout, updating build dir
    ==> Applying disabled-features patch...
    /var/abs/local/yaourtbuild/mplayer-svn/./PKGBUILD: line 56: patch: command not found
    Detected operating system: Linux
    Detected host architecture: i386
    Checking for host cc ... gcc
    Checking for cross compilation ... yes
    ./configure: line 1605: gcc: command not found
    ./configure: line 1610: gcc: command not found
    Checking for CPU vendor ... GenuineIntel (6:15:11)
    Checking for CPU type ... Intel(R) Core(TM)2 Duo CPU T7500 @ 2.20GHz
    Checking for kernel support of mmx ... failed
    It seems that your kernel does not correctly support mmx.
    To use mmx extensions in MPlayer, you have to upgrade/recompile your kernel!
    Checking for kernel support of mmxext ... failed
    It seems that your kernel does not correctly support mmxext.
    To use mmxext extensions in MPlayer, you have to upgrade/recompile your kernel!
    Checking for kernel support of sse ... failed
    It seems that your kernel does not correctly support sse.
    To use sse extensions in MPlayer, you have to upgrade/recompile your kernel!
    Checking for kernel support of sse2 ... failed
    It seems that your kernel does not correctly support sse2.
    To use sse2 extensions in MPlayer, you have to upgrade/recompile your kernel!
    Checking for kernel support of ssse3 ... failed
    It seems that your kernel does not correctly support ssse3.
    To use ssse3 extensions in MPlayer, you have to upgrade/recompile your kernel!
    Checking for kernel support of cmov ... failed
    It seems that your kernel does not correctly support cmov.
    To use cmov extensions in MPlayer, you have to upgrade/recompile your kernel!
    Checking for mtrr support ... yes
    Checking for GCC & CPU optimization abilities ... CPU optimization disabled. CPU not recognized or your compiler is too old.
    error
    Checking for byte order ... failed to autodetect byte order, defaulting to little-endian
    Checking for extern symbol prefix ...
    Error: Symbol mangling check failed.
    Check "configure.log" if you do not understand why it failed.
    ==> ERROR: Build Failed.
    Aborting...
    Error: Makepkg was unable to build mplayer-svn package.
    This is for mpd-git:
    Looks like I need to set the path for gcc in here, but not sure how?
    configure: error: in `/tmp/yaourt-tmp-banshee/aur-mpd-git/mpd-git/src/mpd-build':
    configure: error: no acceptable C compiler found in $PATH
    See `config.log' for more details.
    make: *** No targets specified and no makefile found. Stop.
    ==> ERROR: Build Failed.
    Aborting...
    Error: Makepkg was unable to build mpd-git package.
    Last edited by banshee28 (2009-09-03 04:15:43)

    Allan wrote:
    You need to install the base-devel group (pacman -S base-devel).
    This is a bit weird though....
    Checking for cross compilation ... yes
    hopefully it goes away!
    Ah, I see all the apps in this group now! Not sure how I missed this? Was this in the wiki somwhere??
    Anyways,its getting further along now ....

  • [solved] have to update my aur package

    One of my aur package, lib32-libva, was in the need to be be updated.
    I've already uploaded my aur packages to aur4 some days ago, so now, has long as i understood, if i update the old "aur" domain package, the change will never be reflected to the new aur4.
    So i've updated it via git only to aur4, but the change is not visible to the "old" aur domain.
    Is this supposed to happen?
    Did i do it right?
    Am i supposed to update the old aur packages manually?
    Thanks and sorry if those questions has already been answered.
    Last edited by kokoko3k (Today 09:31:26)

    I think It is supposed to be so, you have to update the packages on both domains. From this email announcing the AUR 4.0.0 pre-alpha release
    AUR package maintainers are then asked to upload their packages
    to aur-dev.archlinux.org and co-maintain them on aur.archlinux.org and
    the Git repository on aur-dev.archlinux.org for some time (roughly four
    weeks).

  • [SOLVED] can't build an AUR package while installing Arch

    So I am nearly there installing Arch for the first time. And I will start with saying that I am really sorry if I missed the answer to my problem but I have had a look around the documentation and the general webz for something regarding this problem and haven't found anything.
    I am trying to set my wireless connection up but I apparently need the AUR b43-firmware package installed for my Broadcom BCM4322 [14e4:432b] to be functional.
    So I follow the documentation to install an AUR package, but I am stuck at the building stage as makepkg does not allow me to build if I am root, and I am root by default while installing/configuring Arch...
    What should I do to build and install that package so I have a wireless connection later on?
    Cheers
    Last edited by chtfn (2015-03-21 14:11:12)

    I am connected to the wired network, and I followed the steps to make it persistent for later, but I just wanted to go through the wireless stuff too to be extra sure I will be able to connect to the Internet later on. As it is the first time I install Arch, I am trying to be extra cautious, and having that security would make me feel more comfortable! Plus, I am keen to learn how to do those things from the command line.
    Isn't there a way to switch to a normal user just for a command, and automatically reverting back to root when that action is finished? Just like sudo but the other way round

  • [Solved] Permissions issues when updating AUR package.

    Hi there,
    Today i was trying to update some of my AUR packages, but all I got is "Error - all files must have permissions of 644 or 755."
    It isn't very clear to me, i've changed all the files/directories permissions and i'm still getting this error so I gave up, i don't know what's going on, i've doing the same package process for a while with no problems.
    I can see the SRC file is compressed as root (root/root), I did a fresh Arch install three days ago to use all my hard disk drive (i was dualbooting), so I don't know if that could be the problem, I've changed my user's primary group anyways.
    - https://pastebin.osuosl.org/14606/
    EDIT*
    I don't know why some of my backup files had 400 and 755 persmissions, i changed back to 644, i did it before... and it didn't work...
    Last edited by AbaddonOrmuz (2015-01-22 21:44:53)

    The source files must have 644 or 755 permissions. In your first paste, the source files have 777 permissions.

  • [SOLVED] What are Git-type AUR packages?

    I read the ArchWiki Entry on Git, but I still don't really understand what it is in terms of Aur packages.
    I've seen this a couple of times, where there's a second git version of a package in AUR. For example, when I type 'prey' into Yaourt, I get a couple of results, among them:
    3 aur/prey-git 20100424-1 (5)
        Prey is a lightweight application that will help you track and find your laptop if it ever gets stolen.
    4 aur/prey-tracker 0.6.0-1 (100)
        Remote tracking and monitoring application for laptops, smartphones, and other electronic devices
    Either would install Prey on my computer, right? What are the differences and/or benefits of either?
    Last edited by Winston-Wolfe (2013-06-06 11:11:27)

    https://aur.archlinux.org/
    Statistics
    Packages     42851
    Orphan Packages     9729
    Packages added in the past 7 days     126
    Packages updated in the past 7 days     1052
    Packages updated in the past year     17219
    Packages never updated     10679
    Registered Users     46348
    Trusted Users     34
    x33a wrote:As someone mentioned on the forums recently, people should at least abandon the packages so others can take over.
    You can always e-mail the maintainer and if you don't get a response in two weeks, ask on the AUR ML to take that package over.
    In the meantime you can post a link to the updated PKGBUILD etc. in comments on the AUR page of that package.
    As with my posts, quantity != quality ;P

  • [Solved] How to list installed AUR packages ?

    Hi,
    I use "packer" to install AUR packages.
    How can I get a list of installed AUR packages ?
    Thanks for your help
    - PierreR
    Last edited by PierreR (2011-12-06 11:37:40)

    You should focus your Google searches to the forum
    site:bbs.archlinux.org how to list installed AUR packages
    https://www.google.com/search?q=site%3A … 78&bih=977 (I used your title for the search)
    You can set the settings to pick only the hits from e..g the last year.

  • [solved] Can no longer untar AUR packages with tar xvf /directory/

    For about a year now I've used this line of code from my .bash_aliases file to untar files from their source directory to the one I am currently CDed in at that moment: 
    alias tarx='tar xvf' # extracts files from a tarball using tar [e]x[tract] v[erbose] f[orced]
    This alias failed to work a few weeks ago for some unknown reason and now spits out this error:
    tarx /media/aur/srcpackages/atom-editor.tar.gz ./
    tar: .: Not found in archive
    tar: Exiting with failure status due to previous errors
    Why on earth would this suddenly stop working.  I haven't changed my .bashrc file apart from some small comments but here it is in case I'm totally out of it:
    # ~/.bashrc
    # This file is sourced by all *interactive* bash shells on startup, #
    # including some apparently interactive shells such as scp and rcp #
    # that can't tolerate any output. So make sure this doesn't display #
    # anything or bad things will happen ! #
    # If not running interactively, don't do anything #
    [[ $- != *i* ]] && return
    # If the connection to the system is a remote connection 'ssh' will be #
    ## appended to the prompt. Otherwise the prompt will be displayed normally #
    # See: remote.colourful.prompt_how-to on /media/lynwyn/networking/ssh #
    # Default prompt from the above-named document: #
    # export PS1='\[\e[0;31m\]\u@\h:\w${text}$\[\e[m\]' # # #
    if [ -n "$SSH_CLIENT" ]; then text=":ssh:"
    fi
    # Alias definitions.
    # You may want to put all your additions into a separate file like
    # ~/.bash_aliases, instead of adding them here directly.
    # See /usr/share/doc/bash-doc/examples in the bash-doc package.
    if [ -f ~/.bash_aliases ]; then
    . ~/.bash_aliases
    fi
    ### [User Prompts]
    ### White Yunzi
    export PS1='\[\e[0;37m\]: \[\e[1;92m\]\W\[\e[0;37m\] :\[\e[m\] \[\e[0;37m\]'
    #### Silver Yunzi
    #export PS1='\[\e[0;37m\]: \[\e[1;94m\]\W\[\e[0;37m\] :\[\e[m\] \[\e[0;37m\]'
    ### Pink Yunzi
    #export PS1='\[\e[0;37m\]: \[\e[1;95m\]\W\[\e[0;37m\] :\[\e[m\] \[\e[1;95m\]'
    ### [Root Prompts]
    ### White Yunzi Root
    #export PS1='\[\e[1;37m\]:\[\e[1;92m\]\u\[\e[1;37m\]:\[\e[1;92m\]\W\[\e[1;37m\]:\[\e[m\] \[\e[0;37m\]'
    ### Silver Yunzi Root
    #export PS1='\[\e[0;37m\]:\[\e[1;94m\]\u\[\e[0;37m\]:\[\e[1;94m\]\W\[\e[0;37m\]:\[\e[m\]\[\e[0;37m\]'
    ### Pink Yunzi Root
    #export PS1='\[\e[0;37m\]:\[\e[1;95m\]\u\[\e[0;37m\]:\[\e[1;95m\]\W\[\e[0;37m\]:\[\e[m\] \[\e[0;37\]'
    ### * BASH options * ###
    ### Last edited January 2014 by H.L.
    # Bash won't get SIGWINCH if another process is in the foreground.
    # Enable checkwinsize so that bash will check the terminal size when
    # it regains control.
    # [check the window size after each command and, if necessary,
    # update the values of LINES and COLUMNS.]
    # http://cnswww.cns.cwru.edu/~chet/bash/FAQ (E11)
    shopt -s checkwinsize
    # automatically prepend cd when entering just a path in the shell
    shopt -s autocd
    # Enable history appending instead of overwriting.
    shopt -s histappend
    # for setting history length see HISTSIZE and HISTFILESIZE in bash(1)
    HISTSIZE=10000
    HISTFILESIZE=20000
    ## erase duplicate entries in your history file
    ## and force Bash History to ignorespace
    export HISTCONTROL=erasedups:ignorespace
    # set variable identifying the chroot you work in (used in the prompt below)
    #if [ -z "$arch_chroot" ] && [ -r /etc/arch_chroot ]; then
    # debian_chroot=$(cat /etc/arch_chroot)
    #fi
    # make "less" more friendly for non-text input files, see lesspipe(1)
    [ -x /usr/bin/lesspipe ] && eval "$(SHELL=/bin/sh lesspipe)"
    # TMUX
    # Put this this snippet BEFORE the aliases in .bashrc.
    # This code starts TMUX with only one session (unless you start some manually), on login;
    # it will try to attach to a currently running session.
    # If there isn't a currently running session then TMUX will create one.
    # if which tmux 2>&1 >/dev/null; then
    # if not inside a tmux session, and if no session is started start a new session
    # test -z "$TMUX" && (tmux attach || tmux new-session)
    # fi
    # environment variables using gedit and nano
    export EDITOR="$(if [[ -n $DISPLAY ]]; then echo 'gedit'; else echo 'nano'; fi)"
    ### Coloured man pages with explanations of colours in comments
    # Note to self: all of the colour & escape statements work ONLY by using double quote marks, e.g. " ... "
    ## Coloured man pages with explanations of colours in comments
    # 67: Primary colour for program names is Dark Green [old 80's CRT green!]
    # 68: Optional arguments and/or separate options for arguments is Bright Green
    # 69: Text Reset
    # 70: Text Reset
    # 71: man page info bottom of page is Dark Red on Black background (net effect is transparent background with red writing)
    # 72: Text Reset
    # 73: References to other programs (and their respective man page(s)) are Bright Yellow [good neutral yellow]
    man() {
    env LESS_TERMCAP_mb=$(printf "\e[1;31m") \
    LESS_TERMCAP_md=$(printf "\e[1;31m") \
    LESS_TERMCAP_me=$(printf "\e[0m") \
    LESS_TERMCAP_se=$(printf "\e[0m") \
    LESS_TERMCAP_so=$(printf "\e[1;44;33m") \
    LESS_TERMCAP_ue=$(printf "\e[0m") \
    LESS_TERMCAP_us=$(printf "\e[1;32m") \
    man "$@"
    ## To get a skin of your choice loaded instead of mc's default
    ## skin, you might consider the following solution:
    ## Multi-User: Create an alias for mc in your ~/.bashrc, like:
    if [ $TERM = "screen-256color" ]; then
    if [ $USER = "root" ]; then
    myMCSkin="modarcon16root-defbg"
    else
    myMCSkin="modarcon16-defbg"
    fi
    alias mc='mc --skin $myMCSkin'
    alias mcedit="mcedit --skin $myMCSkin"
    alias mcview="mcview --skin $myMCSkin"
    alias mcdiff="mcdiff --skin $myMCSkin"
    fi
    Last edited by MoonSwan (2014-07-09 04:31:06)

    I seem to have a larger problem on my desktop machine.  When I try to untar stuff on that one it creates a .cache directory for some weird reason and populates it with, I think, cached files from my home directory.  It ends up having firefox, mc and other cached files in the new directory and then tar just errors out with:
    gzip: stdin: unexpected end of file
    tar: Unexpected EOF in archive
    tar: Unexpected EOF in archive
    tar: Error is not recoverable: exiting now
    Very odd behaviour and I'm assuming some config file somewhere is responsible for this behaviour.  But where else can I look apart from .bashrc? 
    @ids1024, I'll do what you've what you suggested on my netbook later today and record the information to post afterward.
    [edit] Here are the contents of that .cache directory, if it helps:
    dconf event-sound-cache.tdb.silver_yunzi.x86_64-unknown-linux-gnu event-sound-cache.tdb.tengen.x86_64-unknown-linux-gnu fontconfig mc dmenu_run
    event-sound-cache.tdb.silveryunzi.x86_64-unknown-linux-gnu event-sound-cache.tdb.white_yunzi.x86_64-unknown-linux-gnu gstreamer-1.0 mozilla
    Last edited by MoonSwan (2014-06-28 19:57:10)

  • [SOLVED] Seeking for advice at aur package managment.

    Hello again.
    I've been using arch for a little time but this far I like it more eveyday.
    I've installed virtualbox PUEL from the AUR with makepkg and pacman -U. It's working fine.
    But I want to install more software from the AUR. Actually, maybe I'll be installing lots of software from the AUR. My question is, since these software is installed "manualy", is there an easy way of keeping it up to date?
    I've tried yaourt but I really don't like it very much. (Im not using sudo [maybe later] and it asked my root password 3 or 4 times and finally wasn't able to install anything; pacman works fine. Yaourt has no good documentation) I even created an AUR account to see if there was some way of getting notifications of updated packages to upgrade them manually. But this far, I haven't found any satistactory solution.
    Edit: Also, I've seen that at least for virtualbox and yaourt, there are repos that can be added to pacman. Can I add a repo for each piece of software chosen from the AUR? Are there repos only for some "very used" software?
    Thanks for your advice.
    Last edited by ztrange (2009-08-02 06:44:08)

    ztrange wrote:
    H
    But I want to install more software from the AUR. Actually, maybe I'll be installing lots of software from the AUR. My question is, since these software is installed "manualy", is there an easy way of keeping it up to date?p
    Actually, I think that with yaourt you could do the best update for all AUR-installed packages. yaourt -Syyu --aur --devel for example.
    I've tried yaourt but I really don't like it very much. (Im not using sudo [maybe later] and it asked my root password 3 or 4 times and finally wasn't able to install anything; pacman works fine. Yaourt has no good documentation) I even created an AUR account to see if there was some way of getting notifications of updated packages to upgrade them manually. But this far, I haven't found any satistactory solution.
    Try aurbuild as well
    Edit: Also, I've seen that at least for virtualbox and yaourt, there are repos that can be added to pacman. Can I add a repo for each piece of software chosen from the AUR? Are there repos only for some "very used" software?
    Thanks for your advice.
    Except for [community] of course
    I can think of two unofficial repos:
    repo.archlinux.fr
    [archlinuxfr]
    Server = http://repo.archlinux.fr/i686
    or
    [archlinuxfr]
    Server = http://repo.archlinux.fr/x86_64
    and adslgr32/64
    amd64
    [adslgr64]
    Server = http://adslgr64.tiven.org/archlinux/x86_64
    and the
    i686 one
    [adslgr32]
    Server = http://adslgr32.tiven.org/archlinux/i686

  • [SOLVED] repo-add replaces newer version package with old ones

    Say I have two versions of nspr.
    $ ls -1 nspr*.pkg.tar.xz
    nspr-4.10-2-x86_64.pkg.tar.xz
    nspr-4.9.6-1-x86_64.pkg.tar.xz
    When I run repo-add on both of them, version 4.9.6 will be the one remaining in the database.
    $ repo-add custom.db.tar.gz nspr*.pkg.tar.xz
    ==> Extracting database to a temporary location...
    ==> Adding package 'nspr-4.10-2-x86_64.pkg.tar.xz'
    -> Computing checksums...
    -> Removing existing entry 'nspr-4.9.6-1'...
    -> Creating 'desc' db entry...
    -> Creating 'depends' db entry...
    ==> Adding package 'nspr-4.9.6-1-x86_64.pkg.tar.xz'
    -> Computing checksums...
    -> Removing existing entry 'nspr-4.10-2'...
    -> Creating 'desc' db entry...
    -> Creating 'depends' db entry...
    ==> Creating updated database file 'custom.db.tar.gz'
    I think here the natural order should be used, something like
    $ repo-add custom.db.tar.gz $(ls -v nspr*.pkg.tar.xz)
    as this is the expected behaviour from most users.
    Last edited by luran (2013-10-07 23:43:21)

    karol wrote:When only one version of a package will ever be present in the db, why try adding more? Just pass the version you want. You can use 'ls -v' if you prefer, but I think it's the shell's interpretation of the wildcard and not repo-add to blame.
    Thanks for your reply. Now I agree repo-add should just process the files according to the order given by the shell.
    To anwser your question, I need to make a local repository regularly to be shared with my other machine, because I have a very limited Internet quota and the sharing roughly halves the downloads. Usally I just use the wildcard for all the packages in the cache, and it works fine as long as the package version does not jump to 10+ like the above example. 'ls -v' will do the job for me. Cleaning the old packages could be another option, but occasionally I need to revert some package back to an old version.

  • AUR package nightly check in PKGBUILD

    Hi,
    I maintain the songbird-nightly-bin package in AUR http://aur.archlinux.org/packages.php?ID=32932
    I actually put the nightly builds for the package however there is a new nightly build almost every night.
    So is there a way to have makepkg  check the latest nightly and ajust the PKGBUILD so that it downloads the latest. (Maybe through the grep family?)
    Thanks in advance for a great community.
    Last edited by auratux (2010-02-13 16:37:57)

    (The URL is not correct )
    You can try adjusting your PKGBUILD, maybe like this: http://gitorious.org/arch-linux-greece/ … y/PKGBUILD

  • Cannot retrieve aur packages installed with yaourt

    I accidently deleted /var/lib/pacman folder while attempting to solve my update issues (updating system after a long time) . I restored my local pacman database with the excellent guide in the wiki using /var/log/pacman.log  http://wiki.archlinux.org/index.php/Pac … l_database. I was able to update and restore my system. However, yaourt is not listing my installed aur packages. I re-installed yaourt and tried packer as well but it is not able to find the aur packages I installed using yaourt earlier to my update ( It is able to install and list new aur packages) . I can run the old aur packages  but I am not able to remove or list them. How can I list these lost aur packages or remove them completely? Is there a way to retrieve the database for aur packages installed with yaourt?
    Thanks.

    Hi karol,
    Thanks for your response.
    Executing pacman -Qm only lists aur packages which were installed after I accidently deleted /var/lib/pacman. I am not able to list those aur packages that I installed with yaourt prior to my /var/lib/pacman deletion. I am not sure how the accidental deletion and this issue is related, but I would like to delete these old aur packages. One example of such an aur package installed through yaourt (prior to blunder of /var/lib/pacman deletion ) was chromium-browser. I am able to run chromium-browser, but since this package is very old I would like to remove it. However, neither pacman nor yaourt is able to remove it.
    # pacman -R chromium-browser
    chromium-browser not found, searching for group...
    error: 'chromium-browser': not found in local db
    $ yaourt -R chromium-browser
    You are not allowed to launch /usr/bin/pacman with sudo
    Please enter root password
    Password:
    chromium-browser not found, searching for group...
    error: 'chromium-browser': not found in local db
    However chromium-browser is present on my system and runs very well.
    $ locate chromium-browser
    /etc/chromium-browser
    /etc/chromium-browser/default
    /opt/chromium-browser
    /opt/chromium-browser/chrome
    /opt/chromium-browser/chrome-wrapper
    /opt/chromium-browser/chrome.pak
    /opt/chromium-browser/chrome_sandbox
    /opt/chromium-browser/libffmpegsumo.so
    /opt/chromium-browser/locales
    /opt/chromium-browser/product_logo_48.png
    /opt/chromium-browser/resources
    /opt/chromium-browser/xdg-settings
    /opt/chromium-browser/locales/am.pak
    /opt/chromium-browser/locales/ar.pak
    /opt/chromium-browser/locales/bg.pak
    /opt/chromium-browser/locales/bn.pak
    /opt/chromium-browser/locales/ca.pak
    /opt/chromium-browser/locales/cs.pak
    /opt/chromium-browser/locales/da.pak
    /opt/chromium-browser/locales/de.pak
    /opt/chromium-browser/locales/el.pak
    /opt/chromium-browser/locales/en-GB.pak
    /opt/chromium-browser/locales/en-US.pak
    /opt/chromium-browser/locales/es-419.pak
    /opt/chromium-browser/locales/es.pak
    /opt/chromium-browser/locales/et.pak
    /opt/chromium-browser/locales/fi.pak
    /opt/chromium-browser/locales/fil.pak
    /opt/chromium-browser/locales/fr.pak
    /opt/chromium-browser/locales/gu.pak
    /opt/chromium-browser/locales/he.pak
    /opt/chromium-browser/locales/hi.pak
    /opt/chromium-browser/locales/hr.pak
    /opt/chromium-browser/locales/hu.pak
    /opt/chromium-browser/locales/id.pak
    /opt/chromium-browser/locales/it.pak
    /opt/chromium-browser/locales/ja.pak
    /opt/chromium-browser/locales/kn.pak
    /opt/chromium-browser/locales/ko.pak
    /opt/chromium-browser/locales/lt.pak
    /opt/chromium-browser/locales/lv.pak
    /opt/chromium-browser/locales/ml.pak
    /opt/chromium-browser/locales/mr.pak
    /opt/chromium-browser/locales/nb.pak
    /opt/chromium-browser/locales/nl.pak
    /opt/chromium-browser/locales/or.pak
    /opt/chromium-browser/locales/pl.pak
    /opt/chromium-browser/locales/pt-BR.pak
    /opt/chromium-browser/locales/pt-PT.pak
    /opt/chromium-browser/locales/ro.pak
    /opt/chromium-browser/locales/ru.pak
    /opt/chromium-browser/locales/sk.pak
    /opt/chromium-browser/locales/sl.pak
    /opt/chromium-browser/locales/sr.pak
    /opt/chromium-browser/locales/sv.pak
    /opt/chromium-browser/locales/sw.pak
    /opt/chromium-browser/locales/ta.pak
    /opt/chromium-browser/locales/te.pak
    /opt/chromium-browser/locales/th.pak
    /opt/chromium-browser/locales/tr.pak
    /opt/chromium-browser/locales/uk.pak
    /opt/chromium-browser/locales/vi.pak
    /opt/chromium-browser/locales/zh-CN.pak
    /opt/chromium-browser/locales/zh-TW.pak
    /opt/chromium-browser/resources/inspector
    /opt/chromium-browser/resources/inspector/Images
    /opt/chromium-browser/resources/inspector/devtools.css
    /opt/chromium-browser/resources/inspector/devtools.html
    /opt/chromium-browser/resources/inspector/devtools.js
    /opt/chromium-browser/resources/inspector/inspector.css
    /opt/chromium-browser/resources/inspector/inspector.html
    /opt/chromium-browser/resources/inspector/inspectorSyntaxHighlight.css
    /opt/chromium-browser/resources/inspector/Images/back.png
    /opt/chromium-browser/resources/inspector/Images/checker.png
    /opt/chromium-browser/resources/inspector/Images/clearConsoleButtonGlyph.png
    /opt/chromium-browser/resources/inspector/Images/closeButtons.png
    /opt/chromium-browser/resources/inspector/Images/consoleButtonGlyph.png
    /opt/chromium-browser/resources/inspector/Images/consoleIcon.png
    /opt/chromium-browser/resources/inspector/Images/cookie.png
    /opt/chromium-browser/resources/inspector/Images/database.png
    /opt/chromium-browser/resources/inspector/Images/databaseTable.png
    /opt/chromium-browser/resources/inspector/Images/debuggerContinue.png
    /opt/chromium-browser/resources/inspector/Images/debuggerPause.png
    /opt/chromium-browser/resources/inspector/Images/debuggerStepInto.png
    /opt/chromium-browser/resources/inspector/Images/debuggerStepOut.png
    /opt/chromium-browser/resources/inspector/Images/debuggerStepOver.png
    /opt/chromium-browser/resources/inspector/Images/disclosureTriangleSmallDown.png
    /opt/chromium-browser/resources/inspector/Images/disclosureTriangleSmallDownBlack.png
    /opt/chromium-browser/resources/inspector/Images/disclosureTriangleSmallDownWhite.png
    /opt/chromium-browser/resources/inspector/Images/disclosureTriangleSmallRight.png
    /opt/chromium-browser/resources/inspector/Images/disclosureTriangleSmallRightBlack.png
    /opt/chromium-browser/resources/inspector/Images/disclosureTriangleSmallRightDown.png
    /opt/chromium-browser/resources/inspector/Images/disclosureTriangleSmallRightDownBlack.png
    /opt/chromium-browser/resources/inspector/Images/disclosureTriangleSmallRightDownWhite.png
    /opt/chromium-browser/resources/inspector/Images/disclosureTriangleSmallRightWhite.png
    /opt/chromium-browser/resources/inspector/Images/dockButtonGlyph.png
    /opt/chromium-browser/resources/inspector/Images/elementsIcon.png
    /opt/chromium-browser/resources/inspector/Images/enableOutlineButtonGlyph.png
    /opt/chromium-browser/resources/inspector/Images/enableSolidButtonGlyph.png
    /opt/chromium-browser/resources/inspector/Images/errorIcon.png
    /opt/chromium-browser/resources/inspector/Images/errorMediumIcon.png
    /opt/chromium-browser/resources/inspector/Images/errorRedDot.png
    /opt/chromium-browser/resources/inspector/Images/excludeButtonGlyph.png
    /opt/chromium-browser/resources/inspector/Images/focusButtonGlyph.png
    /opt/chromium-browser/resources/inspector/Images/forward.png
    /opt/chromium-browser/resources/inspector/Images/glossyHeader.png
    /opt/chromium-browser/resources/inspector/Images/glossyHeaderPressed.png
    /opt/chromium-browser/resources/inspector/Images/glossyHeaderSelected.png
    /opt/chromium-browser/resources/inspector/Images/glossyHeaderSelectedPressed.png
    /opt/chromium-browser/resources/inspector/Images/goArrow.png
    /opt/chromium-browser/resources/inspector/Images/graphLabelCalloutLeft.png
    /opt/chromium-browser/resources/inspector/Images/graphLabelCalloutRight.png
    /opt/chromium-browser/resources/inspector/Images/grayConnectorPoint.png
    /opt/chromium-browser/resources/inspector/Images/largerResourcesButtonGlyph.png
    /opt/chromium-browser/resources/inspector/Images/localStorage.png
    /opt/chromium-browser/resources/inspector/Images/nodeSearchButtonGlyph.png
    /opt/chromium-browser/resources/inspector/Images/paneBottomGrow.png
    /opt/chromium-browser/resources/inspector/Images/paneBottomGrowActive.png
    /opt/chromium-browser/resources/inspector/Images/paneGrowHandleLine.png
    /opt/chromium-browser/resources/inspector/Images/paneSettingsButtons.png
    /opt/chromium-browser/resources/inspector/Images/pauseOnExceptionButtonGlyph.png
    /opt/chromium-browser/resources/inspector/Images/percentButtonGlyph.png
    /opt/chromium-browser/resources/inspector/Images/profileGroupIcon.png
    /opt/chromium-browser/resources/inspector/Images/profileIcon.png
    /opt/chromium-browser/resources/inspector/Images/profileSmallIcon.png
    /opt/chromium-browser/resources/inspector/Images/profilesIcon.png
    /opt/chromium-browser/resources/inspector/Images/profilesSilhouette.png
    /opt/chromium-browser/resources/inspector/Images/radioDot.png
    /opt/chromium-browser/resources/inspector/Images/recordButtonGlyph.png
    /opt/chromium-browser/resources/inspector/Images/recordToggledButtonGlyph.png
    /opt/chromium-browser/resources/inspector/Images/reloadButtonGlyph.png
    /opt/chromium-browser/resources/inspector/Images/resourceCSSIcon.png
    /opt/chromium-browser/resources/inspector/Images/resourceDocumentIcon.png
    /opt/chromium-browser/resources/inspector/Images/resourceDocumentIconSmall.png
    /opt/chromium-browser/resources/inspector/Images/resourceJSIcon.png
    /opt/chromium-browser/resources/inspector/Images/resourcePlainIcon.png
    /opt/chromium-browser/resources/inspector/Images/resourcePlainIconSmall.png
    /opt/chromium-browser/resources/inspector/Images/resourcesIcon.png
    /opt/chromium-browser/resources/inspector/Images/resourcesSilhouette.png
    /opt/chromium-browser/resources/inspector/Images/resourcesSizeGraphIcon.png
    /opt/chromium-browser/resources/inspector/Images/resourcesTimeGraphIcon.png
    /opt/chromium-browser/resources/inspector/Images/scriptsIcon.png
    /opt/chromium-browser/resources/inspector/Images/scriptsSilhouette.png
    /opt/chromium-browser/resources/inspector/Images/searchSmallBlue.png
    /opt/chromium-browser/resources/inspector/Images/searchSmallBrightBlue.png
    /opt/chromium-browser/resources/inspector/Images/searchSmallGray.png
    /opt/chromium-browser/resources/inspector/Images/searchSmallWhite.png
    /opt/chromium-browser/resources/inspector/Images/segment.png
    /opt/chromium-browser/resources/inspector/Images/segmentChromium.png
    /opt/chromium-browser/resources/inspector/Images/segmentEnd.png
    /opt/chromium-browser/resources/inspector/Images/segmentHover.png
    /opt/chromium-browser/resources/inspector/Images/segmentHoverChromium.png
    /opt/chromium-browser/resources/inspector/Images/segmentHoverEnd.png
    /opt/chromium-browser/resources/inspector/Images/segmentHoverEndChromium.png
    /opt/chromium-browser/resources/inspector/Images/segmentSelected.png
    /opt/chromium-browser/resources/inspector/Images/segmentSelectedChromium.png
    /opt/chromium-browser/resources/inspector/Images/segmentSelectedEnd.png
    /opt/chromium-browser/resources/inspector/Images/segmentSelectedEndChromium.png
    /opt/chromium-browser/resources/inspector/Images/sessionStorage.png
    /opt/chromium-browser/resources/inspector/Images/splitviewDimple.png
    /opt/chromium-browser/resources/inspector/Images/splitviewDividerBackground.png
    /opt/chromium-browser/resources/inspector/Images/statusbarBackground.png
    /opt/chromium-browser/resources/inspector/Images/statusbarBackgroundChromium.png
    /opt/chromium-browser/resources/inspector/Images/statusbarBottomBackground.png
    /opt/chromium-browser/resources/inspector/Images/statusbarBottomBackgroundChromium.png
    /opt/chromium-browser/resources/inspector/Images/statusbarButtons.png
    /opt/chromium-browser/resources/inspector/Images/statusbarButtonsChromium.png
    /opt/chromium-browser/resources/inspector/Images/statusbarMenuButton.png
    /opt/chromium-browser/resources/inspector/Images/statusbarMenuButtonChromium.png
    /opt/chromium-browser/resources/inspector/Images/statusbarMenuButtonSelected.png
    /opt/chromium-browser/resources/inspector/Images/statusbarMenuButtonSelectedChromium.png
    /opt/chromium-browser/resources/inspector/Images/statusbarResizerHorizontal.png
    /opt/chromium-browser/resources/inspector/Images/statusbarResizerVertical.png
    /opt/chromium-browser/resources/inspector/Images/storageIcon.png
    /opt/chromium-browser/resources/inspector/Images/successGreenDot.png
    /opt/chromium-browser/resources/inspector/Images/timelineBarBlue.png
    /opt/chromium-browser/resources/inspector/Images/timelineBarGray.png
    /opt/chromium-browser/resources/inspector/Images/timelineBarGreen.png
    /opt/chromium-browser/resources/inspector/Images/timelineBarOrange.png
    /opt/chromium-browser/resources/inspector/Images/timelineBarPurple.png
    /opt/chromium-browser/resources/inspector/Images/timelineBarRed.png
    /opt/chromium-browser/resources/inspector/Images/timelineBarYellow.png
    /opt/chromium-browser/resources/inspector/Images/timelineCheckmarks.png
    /opt/chromium-browser/resources/inspector/Images/timelineDots.png
    /opt/chromium-browser/resources/inspector/Images/timelineHollowPillBlue.png
    /opt/chromium-browser/resources/inspector/Images/timelineHollowPillGray.png
    /opt/chromium-browser/resources/inspector/Images/timelineHollowPillGreen.png
    /opt/chromium-browser/resources/inspector/Images/timelineHollowPillOrange.png
    /opt/chromium-browser/resources/inspector/Images/timelineHollowPillPurple.png
    /opt/chromium-browser/resources/inspector/Images/timelineHollowPillRed.png
    /opt/chromium-browser/resources/inspector/Images/timelineHollowPillYellow.png
    /opt/chromium-browser/resources/inspector/Images/timelineIcon.png
    /opt/chromium-browser/resources/inspector/Images/timelinePillBlue.png
    /opt/chromium-browser/resources/inspector/Images/timelinePillGray.png
    /opt/chromium-browser/resources/inspector/Images/timelinePillGreen.png
    /opt/chromium-browser/resources/inspector/Images/timelinePillOrange.png
    /opt/chromium-browser/resources/inspector/Images/timelinePillPurple.png
    /opt/chromium-browser/resources/inspector/Images/timelinePillRed.png
    /opt/chromium-browser/resources/inspector/Images/timelinePillYellow.png
    /opt/chromium-browser/resources/inspector/Images/tipBalloon.png
    /opt/chromium-browser/resources/inspector/Images/tipBalloonBottom.png
    /opt/chromium-browser/resources/inspector/Images/tipIcon.png
    /opt/chromium-browser/resources/inspector/Images/tipIconPressed.png
    /opt/chromium-browser/resources/inspector/Images/toolbarItemSelected.png
    /opt/chromium-browser/resources/inspector/Images/treeDownTriangleBlack.png
    /opt/chromium-browser/resources/inspector/Images/treeDownTriangleWhite.png
    /opt/chromium-browser/resources/inspector/Images/treeRightTriangleBlack.png
    /opt/chromium-browser/resources/inspector/Images/treeRightTriangleWhite.png
    /opt/chromium-browser/resources/inspector/Images/treeUpTriangleBlack.png
    /opt/chromium-browser/resources/inspector/Images/treeUpTriangleWhite.png
    /opt/chromium-browser/resources/inspector/Images/undockButtonGlyph.png
    /opt/chromium-browser/resources/inspector/Images/userInputIcon.png
    /opt/chromium-browser/resources/inspector/Images/userInputPreviousIcon.png
    /opt/chromium-browser/resources/inspector/Images/userInputResultIcon.png
    /opt/chromium-browser/resources/inspector/Images/warningIcon.png
    /opt/chromium-browser/resources/inspector/Images/warningMediumIcon.png
    /opt/chromium-browser/resources/inspector/Images/warningOrangeDot.png
    /opt/chromium-browser/resources/inspector/Images/warningsErrors.png
    /opt/chromium-browser/resources/inspector/Images/whiteConnectorPoint.png
    /usr/bin/chromium-browser
    /usr/share/applications/chromium-browser.desktop
    /usr/share/licenses/chromium-browser-bin
    /usr/share/licenses/chromium-browser-bin/LICENSE.txt
    /usr/share/man/man1/chromium-browser.1.gz
    /usr/share/pixmaps/chromium-browser.png
    Chromium-browser is just one of the packages I remember having installed using yaourt prior to the /var/lib/pacman deletion. I would like to know if there is a way to find all such aur packages installed through yaourt prior to /var/lib/pacman deletion and if possible, delete them.
    Thanks.
    Last edited by billy123 (2010-04-05 16:35:35)

Maybe you are looking for

  • How do I create an iTunes account for my minor without credit card info?

    I want to set up an iTunes account for my minor to use without having to input credit card information. I want to give him an iTunes allowance or prepaid iTunes cards for funds. If this can't be done, can I create a user account from MY iTunes accoun

  • I can't register Photoshop Elements 9 as it states the serial number is invalid.

    I bought Adobe Photo shop Elements 9 over a year ago and have never used it.  Just the trial.  Now I am trying to register it with the serial number on the back of my dvd holder and it says my number is invalid.  It IS bought and paid for and I do no

  • How do I combine a group of songs into an album?

    I downloaded a group of songs from a single artist into my iTunes on my PC and created a playlist, but when I sync with my iPod, they sinc as single songs. How do I group them so that they are in a single folder and sync'd that way?

  • Oracle Service Request

    This may be a dumb question but I have never really understood Oracle contract / agreement. Maybe because they have so many rules ... EM is free but statspack cost money; support is included but not extended support; fee by seat, cpu, etc. It's so co

  • Decibel Level Answer If Anyone Is Interested

    Finally found a legit answer to my Decibel Level question. The following is it. Hope you all find this helpful in protecting your hearing. Now, I can crank it up to Quiet Riot 'Bang Your Head'. ;-D It is difficult to accurately predict the actual sou