Satviewe help PKGBUILD

Here is my PKGBUILD http://pastebin.com/Cx2iugy7 17 line is empty i dont know what to put
here is install.sh http://pastebin.com/b6nSrjH7
and what i need to put to file was in /usr/bin ?

tardo wrote:
Fixed. Here's what failed:
license=('custom: "bsnes (TM) Open Source Reference License"')
[ "$CARCH" = "x86_64" ] && makedepends=('yasm')
Didn't know " and () were allowed in license.
And completely forgot about conditionals.
The license field is an array, just check the PKGBUILD prototype, as well as the following quote.
Quote from http://wiki.archlinux.org/index.php/Arc … s#Licenses:
3. Add 'custom' to the licenses array. Optionally, you can replace 'custom' with 'custom:"name of license"'.
This is also where it shows how to describe the custom license, but the " could also just be to indicate that 'name of license' should be replaced with the license name. Actually, since there is a colon after 'Custom' it actually doesn't make any sense having the quotation mark.
EDIT: Aye, a bit below the quoted text above one can read this:
Some packages may not be covered by a single license. In these cases multiple entries may be made in the license array e.g. license=("GPL" "custom:some commercial license").
Which means my PKGBUILD is invalid since I use the quotation marks in my license array, I guess that's what you get for just copying the example and not read the rest of the text.
Last edited by [vEX] (2007-10-11 13:10:54)

Similar Messages

  • |REQUEST HELP PKGBUILD| eclectus

    Eclectus is a small Han character dictionary especially designed for learners of Chinese character based languages like Mandarin Chinese or Japanese.
    I've tried to create  a PKGBUILD but i'm stuck after dependencies.
    http://aur.pastebin.com/6xtrNPX7
    Could anyone help me?
    TY in advantage

    It would help actually posting errors rather than just saying you're stuck. But taking a quick look it looks like you are missing things from the source array. This should include everything it needs to download, which includes the bw.png.segment-0.2beta.tar.gz file and I'm not sure but it may make sense to have the Stroke order as separate package and listed as an optdepends along with moving tegaki to the optdepends from depends. You also need to have md5sums for all the sources.
    For the actual build, it should build as instructed on this page under source .
    You can probably simplify some things by using the same pkgver the developers use (0.2beta2 rather than 0.2_beta2)

  • (Almost) Completely Reliable Method of Building AUR Pkgs with Clang

    The concise wiki directions to add `export CC=clang\nexport CXX=clang++` to makepkg.conf fails to address the unfortunate plethora of pkgbuilds that include GCC specific build options or otherwise prevent this from working.
    Since, at this point, there are very few sources that actually will not build with clang and appropriate options; there has to be a way to "help" pkgbuilds adapt to clang/clang++. My suspicion is that some sort of standard regex replacements of incompatible options should help many of the simpler cases; but I am far from actual knowledge on this point.
    Has anyone gotten a `makepkg.conf` + ??? setup to work reasonably well?

    Welcome to the forums.
    Please edit your post.
    When posting configs, code or command output, please use [ code ] tags https://bbs.archlinux.org/help.php#bbcode
    like this
    It makes the code more readable and - in case of longer listings - more convenient to scroll through.

  • Tupac (TUrbo PACman) - a cached pacman implementation. UPDATED 0.5.6.1

    0.5.6.1:
    - call pacman through sudo.
    - implement aur rpc.
    - fix no single aur results bug.
    ** pending: check why it gets messed when you erase a repo. By now you can run:
    rm /var/lib/tupac/*
    0.5.5:
    - Added an option '--aur-updates' that checks the version of installed aur packages. NOTE: it highlights if the version does not match, not if there's an update.
    0.5.4.1:
    - Fixed a bug that prevented out of date results from appearing in aur searches
    - Added settings option called VERBOSITY. If set to 1 it enables the old tupac behavior in which every single package update get listed. (requested on AUR)
    0.5.4:
    - Fixed german bug
    - Fixed bug updating database
    - Fixed bug with proxy
    - Added the possibility to use an alternate command instead of pacman through custom settings. checkout tupac --help
    ***PKGBUILD update: Now it is stored on sourceforge[b]. No more server disappearence anymore.
    [b]Version history:
    0.5.3.2:
    - Reorganized directory structure.
    0.5.2:
    - Fixed bug: added '+' character as a valid caracter for versioning numbers.
    0.5.1.2:
    - Fix wrong version displaying of _NO_REPO_ results.
    0.5.1.1:
    - Fix php bug that prevented fresh cache creations. too much optimization for php.
    0.5.1:
    - Added --console option that starts a shell for pipe interaction
    0.5:
    - Added incremental cache to everything (local and filelist where pending it).
    0.4.1.1:
    - German localization added
    0.4.1:
    - Proxy error message wasn't localized
    - Added independent internal versioning for TUPAC_CACHE (now it won't get updated on every tupac update).
    0.4:
    - Improved cache check speed time via new .lastupdate files pacman creates on each repo.
    - Added multilanguage suport (it uses LANG variable). Current languages es_ES, es_AR (copy of es_ES), en_US, en_EN (copy of en_EN), ca_ES
    - Added gui/cli better wrapping via metalanguage "machine"
    - Added "--lang" option to set the language in command line.
    - Removed some unneeded verbosity
    0.3.5:
    - Now it returns all aur results! (not limited to 200 anymore)
    - Added --safe option to search only for safe packages in aur
    - Added --set-proxy option to setup a proxy. See "tupac --help".
    0.3.4.2:
    - Updated to work with pacman 3.1
    0.3.4:
    - Now yaourt is only used when installing packages from aur... It was a big delay for nothing.
    - You can specify working repos with --repos repo1,repo2,...
    0.3.3:
    - Added an option to change color scheme
    0.3.2:
    - Added incremental cache. Now it is much faster.
    - Since it shows changes in repos when updating cache, tupac with no arguments now updates cache so that you can see what changed.
    0.2.9.1:
    - fix typo errors in child program calling function.
    0.2.9:
    - Support for "alias pacman=tupac"
    - Show in search results what packages of AUR are SAFE.
    - Improved subprocess handling (now control+c actually kills the child process).
    - Slightly improved performance.
    - Fix filename handling when it contains ? or $ (it treats them properly, but it stills shows strange output when one if this files is to be printed).
    - Fix symbolic links recognition when searching for file owner.
    0.2.8
    - Fixed external programs behaivour. Now pacman progress bars and vi behave normally.
    0.2.7
    - Added --orphans option that finds files with no owner in a directory.
    - Fixed symlinks processing.
    0.2.6:
    - Added a message recommending you to run tupac --checkdir as root to get real information.
    0.2.5
    - Removed unnecessary prompts.
    - Added --checkdir functionality:
       * it checks if in the the provided directory any packages misses any file.
       * It is intended to help you recover your system from mistakes/errors.
       * It has a progress indicator.
    0.2.4
    - Fixed the bug that prevented tupac from showing norepo search results when aur search was omitted.
    - Now it checks that contents of /var/lib/pacman are directories, and if not, it omits them.
    - Moved all naming and directories from pajman to tupac.
    0.2.3
    - BUG FIXED: The problem was with finding file owner of packages that weren't part of any repo.
    0.2.2
    - Fixed initial bug with new default php.ini configuration
    I wrote a cached pacman implementation. It is really fast. See the information below.
    I wrote it because i loved yaourt but i didn't like its performance.
    I added the functionality to perform AND searches both in local and AUR repositories. Adding words to the search string actually filters the search. It doesn't add more results or tries to find the exact phrase.
    The cache updates automatically, so there's nothing to care about.
    It is written in php and uses yaourt to perform installations, so it is included as a dependency.
    NOTE: After last update my php got corrupted. If this happens to you, you will have to fix it by editing the file /etc/php/php.ini and changing extension_dir to extension_dir = "/usr/lib/php/20060613/"
    It can be found on AUR.
    tupac --help
    tupac: A cached pacman implementatioin. Version: 0.4
    Usage:
    tupac [word] [word] [word] ... : Search for and install packages that match all [word]
    tupac -Ss [word] [word] [word] ... : Search for packages that match all [word]
    tupac -Qo [file] [file] [file] ... : Search for each [file] owner
    tupac --checkdir [directory] : Check integrity of a directory.
    tupac --orphans [directory] : Find files that are not part of any package
    tupac : Just update cache
    tupac [anything else] : bypass to yaourt
    tupac --set-proxy [host:port|none] : set up a proxy
    Modifiers:
    --safe : Only search for safe packages
    --noaur : Don't search in AUR
    --noprompt : Don't prompt anything
    --color [darkbg|lightbg|nocolor] : Choose color scheme
    --repos repo1,repo2,repo3,... : Set active repositories
    --lang [xx_XX|machine] : Set working language
    tupac vs pacman
    SEARCHING: (aur search omited on tupac)
    [franki@patito php]$ time pacman -Ss kde>/dev/null
    real 0m0.537s
    user 0m0.227s
    sys 0m0.300s
    [franki@patito php]$ time tupac --noaur -Ss kde>/dev/null
    real 0m0.201s
    user 0m0.147s
    sys 0m0.047s
    FIND FILE OWNER:
    this test is not relevant anymore, since pacman became slightly faster (once cached).
    tupac vs yaourt
    SEARCHING: (tupac gives 100 more results from AUR)
    [franki@patito php]$ time yaourt -Ss kde>/dev/null
    real 0m59.746s
    user 0m12.156s
    sys 0m41.927s
    [franki@patito php]$ time tupac -Ss kde>/dev/null
    real 0m3.182s
    user 0m0.470s
    sys 0m0.057s
    improved search
    EXAMPLE: looking for "3d game"
    yaourt -Ss 3d game -> 4 results (it only includes packages that match exactly '3d game')
    pacman -Ss 3d game -> 109 results (it includes all packages that include any of both words)
    tupac -Ss 3d game -> 33 results (all packages contain the word 3d AND the word game)
    REGENERATION CACHE:
    [franki@patito php]$ time tupac -Ss gaupol
    ==> Generating PAJMAN_CACHE
    1 aur/gaupol 0.12.1-1 - This is the installed version
    An editor for text-based subtitles
    real 0m1.878s
    user 0m0.893s
    sys 0m0.290s
    [franki@patito php]$ time tupac -Qo /opt/kde/bin/startkde
    ==> Reusing existing PAJMAN_CACHE
    ==> Creating file list (it doesn't exist)
    /opt/kde/bin/startkde is owned by kdemod-kdebase 3.5.7-20
    real 0m1.727s
    user 0m1.323s
    sys 0m0.327s
    I hope you like it
    PS: I am open to any comments/issues/improvements you may have/suggest.
    Last edited by Pajaro (2009-08-08 23:23:54)

    UPDATED 0.2.4. AUR UPDATED
    - Fixed the bug that prevented tupac from showing norepo search results when aur search was omitted.
    - Now it checks that contents of /var/lib/pacman are directories, and if not, it omits them.
    - Moved all naming and directories from pajman to tupac.
    ATENTION: - If you plan to erase /var/lib/pajman (with J of paJaro) be careful. It is very similar to the most important directory in arch. This was another reason to move naming. Never erase it if you are drunk, sleepy, stressed or under any circumstance that may reduce your concentration..

  • Help to create a pkgbuild for harpia

    hi i want to create a pkgbuild for the harpia program http://s2i.das.ufsc.br/harpia/en/home.html
    searching in the aur and in the net i couldn't find something
    harpia exist for ubuntu and the .deb file is hosted here http://packages.ubuntu.com/oneiric/all/harpia
    can someone help me create a working pkgbuild for arch through the .deb file
    i tried to create a first approach by creating the following PKGBUILD:
    pkgname=harpia
    pkgver=1.1
    pkgrel=1
    pkgdesc="Image Processing/Computer Vision Automatic Prgm. Tool"
    arch=('any')
    url="http://s2i.das.ufsc.br/harpia/en/home.html"
    license=('GPL2')
    depends=('')
    source=("http://archive.ubuntu.com/ubuntu/pool/universe/h/harpia/${pkgname}_${pkgver}-0ubuntu1.1_all.deb")
    md5sums=('56c6cb146ea5652e41b77506ad8ec263')
    build() {
    bsdtar -C "$pkgdir" -xvf data.tar.gz
    however when i am running the program i am taking the following error:
    Traceback (most recent call last):
    File "/usr/bin/harpia", line 32, in <module>
    from harpia import harpiagcfrontend
    ImportError: No module named harpia
    i guess that the problem might have to do with some dependencies or with the python library, can you provide me with some tips
    thanks

    Well, I'm not going to tell you every little thing .
    I found a likely candidate for python-gnome2 in pacman using a judicious choice of search terms. As for the rest, I suggest you go to the Debian or Ubuntu package lists. The Debian ones are easy to find in Google. These lists contain lots of information about what packages contain and what they provide and where the source code is from.
    Do some detective work, you will figure it out.

  • Tumiki fighters PKGBUILD - help! [solved]

    This is my first PKGBUILD and I'm having a bit of trouble with it as this is a binary app, so no need to compile.  It's in the D programming language so it would have to use a non-open-source compiler anyways.  Of course, I should mention again which app it is - tumiki fighters, a 2D side-scrolling game.  This PKGBUILD isn't done yet, but I have a couple of problems I'd like to figure out.
    First, here's the PKGBUILD:
    arch=(i686)
    pkgname=tumiki
    pkgver=0.2c
    pkgrel=1
    pkgdesc="An addictive game where you salvage parts from your enemies to become stronger"
    depends=('mesa' 'sdl' 'sdl_mixer')
    source=(http://prdownloads.sourceforge.net/$pkgname/$pkgname-$pkgver.tar.gz)
    md5sums=('afb4476b9556fff4d18db124b20141a9')
    build () {
    # cd $startdir/src/tf
    mkdir -p $startdir/pkg/usr/bin
    cp -r $startdir/src/tf $startdir/pkg/usr/tumiki
    # mv $startdir/pkg/usr/tumiki/tf $startdir/pkg/usr/bin/tumiki
    # ln -sf /usr/tumiki/tf $startdir/pkg/usr/bin/tumiki
    This results in the files simply being copied into the /usr/tumiki folder (subject to change in the future).  The app will not run at first but if I change the ownership of the dir and the binary (named tf), it runs.  Strangely enough, if I run the app once after this I can then copy it to /usr/bin/tumiki and it will run fine, but if I tell it to move or copy it over during the installation no matter what ownership specified it will not run properly, giving me an error about being unable to find a file within the /usr/tumiki dir - presumably it's trying to find it starting at the startdir, in this case /usr/bin/, and failing.  Creating a symbolic link doesn't work, either.
    The gentoo package has some install settings I'm unfamiliar with and has a script added, link here: http://bugs.gentoo.org/show_bug.cgi?id=80435 .  I'm not sure what I can do with them exactly, though, as I don't read ebuild-ese and the ebuild howto isn't helping with some of the variables invoked.
    Thanks for any help!
    Nick
    Edit: Problem solved, just tweaked stuff around and used the gentoo script.
    Last edited by Shirakawasuna (2007-05-07 07:19:13)

    There are different ways to do it, but you can just replace all the $pkgver references with 2.6-4004 directly.  Change the 2 lines that originally called $pkgver to this:
    source=(http://ardour.org/files/releases/${pkgname}-2.6-4004.tar.bz2 \
    cd ${startdir}/src/${pkgname}-2.6-4004
    Last edited by creslin (2008-10-24 16:04:07)

  • Pkgbuild help[SOLVED]

    Hey, I trying to update the latest version of ardour on my system but the release is ardour-2.6-4004.tar.bz2.
    I edit the the PKGBUILD from extra and followed the wiki to change the
    pkgver to look like:
    pkgver=2.6_4004 instead of
    pkgver=2.6-4004 because hyphens are not allowed.
    When I run makepkg -i, it tries to down a package ardour-2.6_4004.tar.bz2, not the real package ardour-2.6-4004.tar.bz2.
    Can someone help with how to edit the PKGBUILD?
    Thanx
    Last edited by funkmuscle (2008-10-24 16:07:29)

    There are different ways to do it, but you can just replace all the $pkgver references with 2.6-4004 directly.  Change the 2 lines that originally called $pkgver to this:
    source=(http://ardour.org/files/releases/${pkgname}-2.6-4004.tar.bz2 \
    cd ${startdir}/src/${pkgname}-2.6-4004
    Last edited by creslin (2008-10-24 16:04:07)

  • Razercfg PKGBUILD... help please.

    I was attempting to make a pkgbuild for this little utility. A friend wanted it for controlling his mouse, so I decided to take it on and see what I could do.
    Everything goes smoothly, except the make install process does something strange with a script. Instead of installing everything to the DESTDIR like it should, it does this:
    -- Installing: /home/square/abs/razercfg/pkg/usr/local/lib/librazer.so
    running /usr/bin/python2.6 /home/square/abs/razercfg/src/razercfg-001/pyrazer/in
    stall.py /home/square/abs/razercfg/src/razercfg-001/pyrazer 2>&1
    Python module path found in /usr/lib/python2.6/site-packages
    ERROR: Could not install module "pyrazer.so"
    [Errno 13] Permission denied: '/usr/lib/python2.6/site-packages/pyrazer.so'
    CMake Error at pyrazer/cmake_install.cmake:40 (message):
    Failed to install python module pyrazer
    Call Stack (most recent call first):
    cmake_install.cmake:38 (INCLUDE)
    make: *** [install] Error 1
    i'm not sure how to handle this and correct the behavior. Here is my pkgbuild:
    pkgname=razercfg
    pkgver=001
    pkgrel=1
    pkgdesc="Configuration tool for the Razer mouse"
    arch=('i686')
    url="http://bu3sch.de/razercfg.php"
    license=('GPL' 'BSD')
    depends=('libusb' 'libconfig')
    builddepends=('cmake')
    optdepends=('qt')
    source=(http://bu3sch.de/$pkgname/$pkgname-$pkgver.tar.bz2)
    md5sums=('bcf7d9e0b5a6fe15f26c6df04720c60f')
    build() {
    cd "$srcdir/$pkgname-$pkgver"
    cmake .
    make || return 1
    make DESTDIR="$pkgdir/" install
    Note: This was meant for just personal use, so if anyone wants to take anything fixed afterward and put it in the AUR, I don't mind.
    Help would be appreciated, and thank you ahead of time.
    Last edited by Square (2009-03-01 03:48:38)

    I tried building the same app today myself, and I used the git version, since the 001 tarball had a cmake file that wasn't quite up to date so I took the git version which fixed that. The PKGBUILD is as follows:
    pkgname=razercfg-git
    pkgver=20090310
    pkgrel=1
    pkgdesc="Razercfg is a tool to configure razer mice."
    url="http://bu3sch.de/razercfg.php"
    license="GPL2"
    depends=('python' 'libusb' 'pyqt')
    makedepends=('git' 'cmake')
    arch=('i686')
    source=()
    md5sums=()
    _gitroot=http://bu3sch.de/git/razer.git
    _gitname=razer
    build() {
    cd ${srcdir}
    msg "Connecting to GIT server ..."
    if [ -d ${srcdir}/$_gitname ] ; then
    cd $_gitname && git pull origin
    msg "The local files are updated."
    else
    git clone $_gitroot
    fi
    msg "GIT checkout done or server timeout"
    git clone $_gitname $_gitname-build
    cd ${srcdir}/$_gitname-build
    cmake -DCMAKE_INSTALL_PREFIX=/usr -DBUILD_TYPE=Release . || return 1
    make || return 1
    make DESTDIR=${pkgdir} install || return 1
    install -D -m644 ui/pyrazer.py ${pkgdir}/usr/lib/python2.6/site-packages/pyrazer.py || return 1
    install -D -m755 razerd/razerd ${pkgdir}/usr/bin/razerd || return 1
    For me it compiles and installs fine, the only problem is that the app itself is not working for me because somehow my mouse isn't picked up. Why I haven't figured out yet. I also didn't bother with the udev rules file yet, but that it would only required a quick sed and install directive to use I suppose.

  • Loemu PKGBUILD, need help with python dependencies [solved]

    I'm having a hard time determining the depends for this python application. It uses gtk and glade, but namcap is unable to determine dependencies for python apps, I think. It complains that I am including not needed depends. I found a requirements list here:
    http://linux.softpedia.com/get/Utilitie … 4855.shtml
    that might give some clues, but I'm still struggling to determine what's needed until I can get home and run the application.
    My PKGBUILD in case you're interested and think you can help. I'm sure I need glade for python in the depends line, but I can't find it in AUR or with pacman.
    # Contributor: robb_force <[email protected]>
    pkgname=loemu
    pkgver=0.1.1
    pkgrel=1
    pkgdesc="A simple frontend for various game emulators, including XMAME, SDLMAME and Snes9x."
    url="http://loemu.pegueroles.com/"
    license="GPL"
    arch=('i686')
    depends=('pygtk>=2.6' 'libglade')
    makedepends=('python>=2.4.0')
    source=(http://loemu.pegueroles.com/dists/${pkgname}-${pkgver}.tar.gz)
    md5sums=('d4cff1ef835ce19a9fd22cdaec47074a')
    build() {
    # Fix the paths in the scripts
    cd ${startdir}/src/${pkgname}-${pkgver}
    sed '/roms/d;/flyers/d;/snaps/d' -i setup.py
    sed 's|share/games|share|g' -i setup.py
    cd ${startdir}/src/${pkgname}-${pkgver}/${pkgname}
    sed 's|share/games|share|g' -i Preferences.py
    sed 's|share/games|share|g' -i Loemu.py
    sed 's|share/games|share|g' -i Config.py
    # Install the application
    cd ${startdir}/src/${pkgname}-${pkgver}
    python setup.py install --prefix=${startdir}/pkg/usr
    Last edited by robb_force (2007-05-18 19:22:02)

    Thanks for the response. I've added the working PKGBUILD to the AUR.
    http://aur.archlinux.org/packages.php?d … 1&ID=11093

  • Help with my first PKGBUILD script [solved]

    Hi There
    I am trying to write my first PKGBUILD script and I am landing in a bit of trouble.  The script is short and is:
    #Contributor: iKevin <kellwood-at-ameritech.net>
    pkgname=fpm
    pkgver=0.60
    pkgrel=1
    pkgdesc="A password manager for gnome"
    url="http://fpm.sourceforge.net"
    license="GPL"
    depends=('xorg' 'gtk' 'glibc' 'libgnome' 'libxml2' 'glib')
    source=(http://heanet.dl.sourceforge.net/sourceforge/$pkgname/$pkgname-$pkgver.tar.gz)
    md5sums=(be7655d300c306c8f962f6aad0a60cc5)
    build() {
    cd $startdir/src/$pkgname-$pkgver
    ./configure --prefix=/usr
    make || return 1
    mkdir -p $startdir/pkg/usr/bin
    make prefix=$startdir/pkg/usr install
    I haven't reach the point where it compiles.  It failes to download the file.  Oddly, when I type:
    wget http://heanet.dl.sourceforge.net/source … .60.tar.gz
    it downloads fine.  When running makepkg, the contents of ./src/fpm-0.60.tar.gz is some kind of web page.
    I have eyeballed this PKGBUILD script for a while and I can't see any problems.  Is there something special about sourceforge files?  I feel that I must have a typo because makepkg is using wget, which works by hand.
    Thanks
    Kev

    Well,
    I installed kedpm with my first working PKGBUILD script.  I was able to import my "fpm" password file.  Once I get my gnucash stuff transfered into grisbi, I will be able to switch my main machine completely to archlinux.
    I know it is trivial for you guys, but here is my script -- it might save you some typing.
    Kev
    pkgname=kedpm
    pkgver=0.4.0
    pkgrel=1
    pkgdesc="Ked Password Manager helps to manage large amounts of passwords and related information"
    url="http://kedpm.sourceforge.net/"
    depends=(python pygtk pycrypto)
    makedepends=()
    conflicts=()
    replaces=()
    backup=()
    install=
    source=(http://dl.sourceforge.net/sourceforge/$pkgname/$pkgname-$pkgver.tar.gz)
    md5sums=('6b83a646873f8ea00af9c6403aa259bc')
    build() {
    cd $startdir
    mkdir -p pkg/usr
    cd $startdir/src/$pkgname-$pkgver
    python setup.py install --prefix=$startdir/pkg/usr

  • [SOLVED] Help with updating conky-colors PKGBUILD

    I'm looking to update my PKGBUILD for https://aur.archlinux.org/packages/conky-colors/ to support the latest version.  After getting annoyed with DeviantArt replacing the zips of the package when it is updated upstream, I've decided to pull in specific commits from the git repo instead.  I'm trying to use the ...#commit= option on the source line.  It seems to be building ok but I'm getting the following errors:
    /usr/bin/makepkg: eval: line 2225: unexpected EOF while looking for matching `"'
    /usr/bin/makepkg: eval: line 2226: syntax error: unexpected end of file
    Can anyone give any help as to what may be the cause here.  If i remove the #commit it goes away.  I need to clean up the depends section to remove those that are no longer needed, but I can do that easy enough.
    # Maintainer: Android_808 <android underscore 808 at hotmail dot com>
    # Contributor: Pauline123 <321eniluap at gmail dot com>
    # Contributor: Shanto <shanto at hotmail>
    # Contributor: Piotr Rogoża <rogoza dot piotr at gmail dot com>
    pkgname=conky-colors
    _pkgname=conky_colors
    pkgver=9.0
    pkgrel=1
    pkgdesc="An easier way to configure Conky."
    arch=('i686' 'x86_64')
    url="http://gnome-look.org/content/show.php/CONKY-colors?content=92328"
    license=('GPL')
    depends=('pystatgrab' 'ttf-liberation' 'hddtemp' 'curl' 'lm_sensors' 'conky' 'ttf-droid' 'ttf-ubuntu-font-family' 'ttf-ms-fonts')
    makedepends=('perl' 'git')
    optdepends=('conky-lua')
    conflicts=('ttf-openlogos' 'ttf-weather')
    options="!strip"
    install=$pkgname.install
    source=("$pkgname::git+https://github.com/helmuthdu/conky_colors.git#commit=f4b530a94d5f3f73d4c21c4417c51b6011a71b28")
    md5sums=('SKIP')
    build() {
    cd "$srcdir/conky-colors"
    make
    package() {
    cd "$srcdir/conky-colors"
    mkdir -p ${pkgdir}/usr/share
    mkdir -p ${pkgdir}/usr/share/fonts
    mkdir -p ${pkgdir}/usr/bin
    cp -v conky-colors ${pkgdir}/usr/bin
    cp -v -r conkycolors ${pkgdir}/usr/share
    #cp -v -r fonts ${pkgdir}/usr/share/conkycolors
    cp -v -r fonts/conkycolors ${pkgdir}/usr/share/fonts/TTF
    ln -fs /usr/share/conkycolors/bin/conkyTask ${pkgdir}/usr/bin/ct
    #ln -fs /usr/share/conkycolors/fonts/conkycolors ${pkgdir}/usr/share/fonts/
    chmod +x ${pkgdir}/usr/share/conkycolors/scripts/*
    chmod +x ${pkgdir}/usr/share/conkycolors/bin/*
    chmod -R 755 ${pkgdir}/usr/share/conkycolors/
    Last edited by android_808 (2013-11-11 19:33:06)

    I didn't post the install earlier because I've never had an issue with it, been using the same file for several releases of several custom built packages.  The eval: lines posted appear before "Making package: conky-colors 9.0-1 (Mon 11 Nov 18:58:03 GMT 2013)" but doesn't prevent it from building.  Just don't get what's causing them.
    Install files "s have matching end ", brackets have brackets. namcap PKGBUILD gave no error.
    PKGBUILD ' has matching '
                     " has matching "
                     ( has matching )

  • Help with sed in a PKGBUILD

    Basically, I need to make a few modifications to a conf file but I am no good with sed.  Here is a portion of the original conf file:
    our %HTTP_LOG = ("Linux-RHFC" => "/var/log/httpd/access_log",
    "Linux-Debian" => "/var/log/apache2/access.log",
    "Linux-Gentoo" => "/var/log/apache2/access_log",
    "Linux-Slack" => "/var/log/httpd/access.log",
    "Linux-SuSE" => "/var/log/apache2/access_log",
    "Linux-Generic" => "/var/log/httpd/access_log",
    "FreeBSD" => "/var/log/httpd-access.log");
    our %BASE_WWW = ("Linux-RHFC" => "/var/www/html",
    "Linux-Debian" => "/var/www",
    "Linux-Gentoo" => "/var/www/localhost/htdocs",
    "Linux-Slack" => "/var/www/htdocs",
    "Linux-SuSE" => "/srv/www/htdocs",
    "Linux-Generic" => "/usr/local/www",
    "FreeBSD" => "/usr/local/www/apache22/data");
    I need to make two changes:
    1) change the .log to _log in the following:
    "Linux-Slack"   => "/var/log/httpd/access.log",
    2) change the path from "/var/www/htdocs" to "/srv/http" in the following:
    "Linux-Slack"   => "/var/www/htdocs",
    Here is a model line with sed making another needed change that res wrote into the PKGBUILD:
    sed '/^our $OSTYPE = "Linux-RHFC"/ s,RHFC,Slack,' < $pkgname.conf \
    > $pkgdir/etc/$pkgname.conf
    Basically, I can't adapt his line to do what I need.  Anyone willing to help me out?  BTW, this is for the monitorix PKGBUILD in the AUR: http://aur.archlinux.org/packages.php?ID=33911
    Last edited by graysky (2010-01-26 21:35:28)

    CommandLine: (Combined)
    sed '/ *"Linux-Slack"/{ s=/var/www=/srv/http=; s=log=_log= }' < infile > outfile
    Output:
    our %HTTP_LOG = ("Linux-RHFC"   => "/var/log/httpd/access_log",
                    "Linux-Debian"  => "/var/log/apache2/access.log",
                    "Linux-Gentoo"  => "/var/log/apache2/access_log",
                    "Linux-Slack"   => "/var/_log/httpd/access.log",
                    "Linux-SuSE"    => "/var/log/apache2/access_log",
                    "Linux-Generic" => "/var/log/httpd/access_log",
                    "FreeBSD"       => "/var/log/httpd-access.log");
    our %BASE_WWW = ("Linux-RHFC"   => "/var/www/html",
                    "Linux-Debian"  => "/var/www",
                    "Linux-Gentoo"  => "/var/www/localhost/htdocs",
                    "Linux-Slack"   => "/srv/http/htdocs",
                    "Linux-SuSE"    => "/srv/www/htdocs",
                    "Linux-Generic" => "/usr/local/www",
                    "FreeBSD"       => "/usr/local/www/apache22/data");
    Don't try to write to the original file using this approach as it will clobber your original file. Use "sed -i" to save to the original file instead. The "< infile > outfile" save the output to another file obviously.
    Sed Script: ( Invoked as sed -f whatever_you_call_the_script file )
    / *"Linux-Slack"/{
    s=/var/www=/srv/http=
    s=log=_log=
    sed '/^our $OSTYPE = "Linux-RHFC"/ s,RHFC,Slack,' < $pkgname.conf \
                                                        > $pkgdir/etc/$pkgname.conf
    This means find this regex pattern ^our $OSTYPE = "Linux-RHFC" and whatever it matches change RHFC to Slack. Take $pkgname.conf as the infile and send the output of sed to $pkgdir/etc/$pkgname.conf
    Notice he used s,RHFC,Slack, and I used s=log=_log=. This is typically done if you have a lot of "/" in a file. Sed's typical replacement pattern is this s/original/changed/ but as I mentioned it becomes hard to figure out if you have something like this s/\/mnt\/usb\/somefile/\/mnt\/usb\/somename/. Sed allows you to substitute any character (except a few special ones) in place of "/" in it's replacement pattern as long as you follow through the whole command like that. So in essence these are equivalent s,RHFC,Slack,, s=RHFC=Slack=, s/RHFC/Slack/
    You did say you wanted to know. Hope this is what you were looking for or at least a step in the right direction. Sorry if I bored you with the school lession.

  • PKGBUILD for mac-3.99-u4-b5, help check plz

    Hi all
    I wish to add a package to AUR, and I only test it in x86_64. Could anybody help me to check it in i686? TIA.
    Besides, I've got a question here. The dest files have a static lib file, which is $startdir/pkg/usr/lib/libmac.a. When I put PKGBUILD in different path and perform the makepkg command, the md5sums of this static lib file that created in each build operation are different. Is that correct ?
    #contributor= doze_worm <[email protected]>
    pkgname=mac
    pkgver=3.99
    _srcSubVer=u4-b5
    pkgrel=1
    pkgdesc="Monkey's Audio Codec(.APE) non-win32 port. Transform .ape to .wav"
    arch=('i686' 'x86_64')
    license=(unknown)
    provides=('mac=3.99')
    conflicts=('')
    source=("http://supermmx.org/resources/linux/mac/${pkgname}-${pkgver}-${_srcSubVer}.tar.gz")
    depends=('')
    md5sums=('75716b342e07deae58f56a2522362006')
    build(){
    cd "$srcdir/${pkgname}-${pkgver}-${_srcSubVer}" || return 1
    ./configure --prefix=/usr || return 1
    make || return 1
    make DESTDIR="$pkgdir" install || return 1

    1) your provides array has an = sign in it. Are you sure the package name has a = in it? You might want to change that to a - or nothing at all depending on what the actual package name is
    2) If you do not have conflicts and or depends, you should remove those array completely as opposed to providing empty arrays.
    3) You haven't provided a url for the application.
    4) As for the static file under lib, how about you just copy the entire lib folder under your $pkgname directory?

  • [PKGBUILD] Need help compiling QuteCom (formerly WengoPhone)

    Hey there!
    I'm trying to make a new PKGBUILD for QuteCom, the former wengophone-ng. The PKGBUILD currently looks this way:
    # Contributor: Julius Bullinger <#####>
    pkgname=qutecom-hg
    pkgver=105
    pkgrel=1
    pkgdesc="The latest hg pull of wmii, a lightweight, dynamic window manager for X11"
    url="http://wmii.suckless.org"
    license='custom'
    arch=('i686')
    makedepends=('mercurial')
    depends=('cmake>=2.4.4' 'qt>=4.2' 'boost>=1.33' 'openssl>=0.9.8a' 'glib2>=2.10.3' \
    'gnutls>=1.2.9' 'e2fsprogs>=1.38' 'libxml2>=2.6.24' 'speex>=1.1.12' \
    'ffmpeg>=cvs20060823' 'portaudio>=19' 'alsa-lib>=1.0.11' \
    'libsndfile>=1.0.12' 'libsamplerate>=0.1.2' 'curl>=7.16.1' 'libosip>=3.0.1')
    source=()
    _hgroot='http://hg.qutecom.org'
    _hgrepo='qutecom-2.2'
    build() {
    cd ${startdir}/src
    if [ -d ${_hgrepo} ]; then
    cd ${startdir}/src/${_hgrepo}
    hg pull -u
    else
    hg clone ${_hgroot}${_hgrepo} || return 1
    cd ${startdir}/src/${_hgrepo}
    fi
    msg "Mercurial checkout done or server timeout"
    msg "Starting make..."
    mkdir ./build
    cd ./build
    cmake .. \
    -DCMAKE_BUILD_TYPE=Release -DCMAKE_INSTALL_PREFIX=/opt/quotecom \
    -DBUILDID_SUPPORT=OFF -DFFMPEG_INTERNAL=ON \
    -DPORTAUDIO_INTERNAL=OFF -DPORTAUDIO_OSS_SUPPORT=OFF \
    -DPHAPI_AUDIO_OSS_SUPPORT=OFF -DCOPY_DATA_FILES_ON_CONFIGURE=OFF
    make || return 1
    make DESTDIR=$pkgdir install
    As you can see, it's using mercurial and cmake. Building crashes with just saying
    Linking C static library libgaim.a
    [ 29%] Built target gaim
    make: *** [all] Fehler 2 [=Error 2]
    Since I'm no developer, I have no idea what to do. Can anybody help me, e.g. try to build it himself, and give me an hint what to do?
    Thank you!
    Last edited by kwurzel (2009-11-25 08:17:17)

    The following patch allows the build to complete:
    --- qutecom-2.2/wifo/netlib/src/netlib.cpp 2008-07-08 13:03:11.386417658 +0100
    +++ qutecom-2.2-build/wifo/netlib/src/netlib.cpp 2008-07-08 14:57:38.845728354 +0100
    @@ -40,6 +40,7 @@
    #include <sys/ioctl.h>
    #include <netdb.h>
    #include <strings.h>
    + #include <cstring>
    #endif //OS_WIN32
    #include <stdlib.h>
    #include <limits.h>
    I've also made some PKGBUILD changes:
    # Contributor: Julius Bullinger <[email protected]>
    pkgname=qutecom-hg
    pkgver=105
    pkgrel=1
    pkgdesc="Open source softphone, mercurial build"
    url="http://www.qutecom.org"
    license='custom'
    arch=('i686')
    makedepends=('mercurial')
    depends=('cmake>=2.4.4' 'qt>=4.2' 'boost>=1.33' 'openssl>=0.9.8a' 'glib2>=2.10.3' \
    'gnutls>=1.2.9' 'e2fsprogs>=1.38' 'libxml2>=2.6.24' 'speex>=1.1.12' \
    'ffmpeg>=cvs20060823' 'portaudio>=19' 'alsa-lib>=1.0.11' \
    'libsndfile>=1.0.12' 'libsamplerate>=0.1.2' 'curl>=7.16.1' 'libosip>=3.0.1')
    source=(netlib-gcc-4.3.patch)
    _hgroot='http://hg.qutecom.org'
    _hgrepo='qutecom-2.2'
    build() {
    cd ${startdir}/src
    if [ -d ${_hgrepo} ]; then
    cd ${startdir}/src/${_hgrepo}
    hg pull -u
    else
    hg clone ${_hgroot}${_hgrepo} || return 1
    cd ${startdir}/src/${_hgrepo}
    fi
    cp -r ${startdir}/src/${_hgrepo} ${startdir}/src/${_hgrepo}-build
    cd ${startdir}/src/${_hgrepo}-build
    msg "Mercurial checkout done or server timeout"
    msg "Starting make..."
    patch -Np1 -i ../netlib-gcc-4.3.patch || return 1
    cd build
    cmake .. -DCMAKE_BUILD_TYPE=Release -DCMAKE_INSTALL_PREFIX=/usr \
    -DBUILDID_SUPPORT=OFF -DFFMPEG_INTERNAL=ON \
    -DPORTAUDIO_INTERNAL=OFF -DPORTAUDIO_OSS_SUPPORT=OFF \
    -DPHAPI_AUDIO_OSS_SUPPORT=OFF -DCOPY_DATA_FILES_ON_CONFIGURE=OFF || return 1
    make || return 1
    make DESTDIR=$pkgdir install
    rm -rf ${startdir}/src/${_hgrepo}-build
    The app runs for me, but with most of the interface blank - not too surprising, given that this code is intended for developers only. I'm not interested in working further on this right now, so feel free to do anything you want with the above.

  • [SOLVED]LXAppearance-0.5.5 PKGBUILD - Need Help Creating

    I thought I would teach myself how to do PKGBUILDs by using LXAppearance.
    I used this as my sources: http://downloads.sourceforge.net/projec … tlayer-ams
    I extracted it to /home/tyler/Development/lxappearance-0.5.5/
    Then I copied and modified this PKGBUILD and put it in the correct directory.
    #$Id: PKGBUILD 103634 2014-01-08 14:31:20Z bpiotrowski $
    # Maintainer: Bartłomiej Piotrowski <[email protected]>
    # Contributor: Angel Velasquez <[email protected]>
    # Contributor: Geoffroy Carrier <[email protected]>
    pkgname=lxappearance
    pkgver=0.5.5
    pkgrel=1
    pkgdesc='Feature-rich GTK+ theme switcher of the LXDE Desktop'
    arch=('i686' 'x86_64')
    license=('GPL2')
    url='http://lxde.org/'
    groups=('lxde')
    depends=('gtk2' 'dbus-glib')
    makedepends=('intltool')
    #source=(http://downloads.sourceforge.net/sourceforge/lxde/$pkgname-$pkgver.tar.xz)
    #md5sums=('a67113681d9d0a6d936289909aed5782')
    build() {
    cd /home/tyler/Development/lxappearance-0.5.5/
    ./configure --sysconfdir=/etc --prefix=/usr \
    --enable-dbus
    make
    package() {
    cd /home/tyler/Development/lxappearance-0.5.5/
    make DESTDIR="$pkgdir/" install
    Finally, I ran makepkg -s and pacman -U lxappearance-0.5.5-1-x86_64.pkg.tar.xz
    When pacman installs the lxappearance package it says the total install size is 0.09 MiB. When I install it from the repos I get a .39 MiB package. Also, when I go to run lxappearance nothing happens. I can see it in /usr/bin, but it simply doesn't run.
    Any tips to get this to work?
    Last edited by tdrusk (2014-03-08 14:33:09)

    Thank you! I was making it too complicated!
    Arch provides 1.5.5, so I just copied the PKGBUILD to /home/tyler/Development/lxappearance.
    Then I edited the PKGBUILD like so:
    #$Id: PKGBUILD 103634 2014-01-08 14:31:20Z bpiotrowski $
    # Maintainer: Bartłomiej Piotrowski <[email protected]>
    # Contributor: Angel Velasquez <[email protected]>
    # Contributor: Geoffroy Carrier <[email protected]>
    pkgname=lxappearance
    pkgver=0.5.5
    pkgrel=1
    pkgdesc='Feature-rich GTK+ theme switcher of the LXDE Desktop'
    arch=('i686' 'x86_64')
    license=('GPL2')
    url='http://lxde.org/'
    groups=('lxde')
    depends=('gtk2' 'dbus-glib')
    makedepends=('intltool')
    source=(http://downloads.sourceforge.net/sourceforge/lxde/$pkgname-$pkgver.tar.xz)
    md5sums=('a67113681d9d0a6d936289909aed5782')
    build() {
    cd /home/tyler/Development/lxappearance/src/lxappearance-0.5.5/
    ./configure --sysconfdir=/etc --prefix=/usr \
    --enable-dbus
    make
    package() {
    cd /home/tyler/Development/lxappearance/src/lxappearance-0.5.5/
    make DESTDIR="$pkgdir" install
    After that, I was able to run makepkg -s and pacman -U lxappearance-0.5.5-1-x86_64.pkg.tar.xz to get it installed and running. Thanks for your help!

Maybe you are looking for

  • Dynamic Interface in Query String does not work?

    Hi All, i have exposed a interface as a webservice with the help of the Define Web Service in Configuration Builder. In the SOAP Sender Communication Channel i have checked the options Use Encoded Headers and Use Query String The url of the webservic

  • How to call Java method from XSLT??

    Hi All, Jdev 11.1.1.3.0 I have a requirement to implement that, I have to call Java method from XSLT. Could anyone please suggest to implement that?? Thanks, Santosh M E

  • Replicate APO master table data into HANA db via SLT

    Hi, Can anybody help me on replicating SAP APO master table data into SAP HANA by using SLT. What is the hardware requirement (Version & Patch) for APO system to communicate with SLT and is it the same methodology to follow while replicating ECC data

  • HELP! ID2 to CS3 or CS4

    I have a large document that was created in ID2 several years back. When trying to open in either CS3 or 4 it crashes. My printer can open it in ID2, but it too crashes his CS versions. He has tried doing a simple save and then reopen. Is there any w

  • Premiere pro cc 8.2.0 (65) build  "audio dropout Detected at {timecode} in "Adobe Player"

    premiere pro cc 8.2.0 (65) build  "audio dropout Detected at {timecode} in "Adobe Player" This is new to since upgrading from CS6 to CC. The audio pitch plays slightly at a slower  pitch during timeline playback and the play head jumps back a few fra