[SOLVED] How to update AUR packages?

Hi,
I am new to archlinux. a few days ago i installed my first application from the AUR and now I am wondering: How can i update? I believe that I have to use an AUR helper to do that. Is that correct? And which helper should i use? Any recommendations?
thanx
Last edited by turtlefox (2015-05-12 14:36:27)

ok I understand, fetch the tarball again and building it will work. (that already came to my mind actually)
However, for long-term use I kind of want a more convenient solution, so I think I will try cower.
Can anyone tell me how to install cower? At https://github.com/falconindy/cower there is only a zip-file that I can download. The zip file contains the files 'bash_completion', 'config', 'cower.c', 'Makefile', 'README.pod' and 'zsh_completion'. (sorry, but I see no option for including the files in this post) In the README however, there is no information about installation.

Similar Messages

  • [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] How to install aur packages using pacaur

    I'm trying to install dwb-git. It installs with no problem with aura, but pacaur gives me problems. If I run pacaur as regular user it will build but will not install and will say permission denied.
    If I run pacaur with sudo it will say building packages as root is a bad idea and will quit. The only other possibility I see is running it with --asroot flag which is a really bad idea.
    Last edited by bstaletic (2014-06-22 15:02:41)

    No, I get the errors I described above.
    Here are the outputs:
    bstaletic@arch ~ $ pacaur -y dwb-git
    :: resolving dependencies...
    :: no AUR metadata for dwb-git package
    :: looking for inter-conflicts...
    AUR Packages (1):
    Name Old Version New Version
    aur/dwb-git latest
    :: Proceed with installation? [Y/n]
    :: Retrieving package(s)...
    :: View dwb-git PKGBUILD? [Y/n] n
    :: View dwb.install script? [Y/n] n
    ==> Making package: dwb-git 2014.03.04.g5088db1-1 (Sun Jun 22 15:46:30 CEST 2014)
    ==> Retrieving sources...
    -> Cloning dwb git repo...
    Cloning into bare repository '/tmp/pacaurtmp-bstaletic/dwb-git/dwb'...
    remote: Counting objects: 15056, done.
    remote: Compressing objects: 100% (3796/3796), done.
    remote: Total 15056 (delta 11190), reused 14783 (delta 10952)
    Receiving objects: 100% (15056/15056), 2.63 MiB | 88.00 KiB/s, done.
    Resolving deltas: 100% (11190/11190), done.
    Checking connectivity... done.
    ==> Validating source files with md5sums...
    dwb ... Skipped
    ==> Extracting sources...
    -> Creating working copy of dwb git repo...
    Cloning into 'dwb'...
    done.
    ==> Starting pkgver()...
    ==> Updated version: dwb-git 2014.06.14.g9f4bdb9-1
    ==> Sources are ready.
    :: Building dwb-git package(s)...
    ==> Making package: dwb-git 2014.06.14.g9f4bdb9-1 (Sun Jun 22 15:47:05 CEST 2014)
    ==> Checking runtime dependencies...
    ==> Checking buildtime dependencies...
    ==> WARNING: Using existing src/ tree
    ==> Starting build()...
    Build options:
    CC = cc
    CFLAGS = -march=native -O2 -pipe -fstack-protector --param=ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -Wall -Werror=format-security -pipe --ansi -std=c99 -D_POSIX_C_SOURCE=200112L -O2 -g -D_BSD_SOURCE -D_NETBSD_SOURCE -D__BSD_VISIBLE -pthread -I/usr/include/webkitgtk-1.0 -I/usr/include/gtk-2.0 -I/usr/lib/gtk-2.0/include -I/usr/include/pango-1.0 -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/libdrm -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/libpng16 -I/usr/include/pango-1.0 -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/harfbuzz -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/harfbuzz -I/usr/include/libsoup-2.4 -I/usr/include/libxml2 -I/usr/include/webkitgtk-1.0 -I/usr/include/p11-kit-1 -I/usr/include/json-c -I/usr/include/libsecret-1 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -DWITH_LIBSOUP_2_38=1
    LDFLAGS = -Wl,-O1,--sort-common,--as-needed,-z,relro -lwebkitgtk-1.0 -lgtk-x11-2.0 -lgdk-x11-2.0 -lpangocairo-1.0 -latk-1.0 -lcairo -lgdk_pixbuf-2.0 -lpangoft2-1.0 -lpango-1.0 -lfontconfig -lfreetype -lsoup-2.4 -ljavascriptcoregtk-1.0 -lgnutls -ljson-c -lsecret-1 -lgio-2.0 -lgobject-2.0 -lglib-2.0 -lpthread -lm -lX11
    CPPFLAGS = -march=native -O2 -pipe -fstack-protector --param=ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -DWITH_LIBSECRET
    make[1]: Entering directory '/tmp/pacaurtmp-bstaletic/dwb-git/src/dwb/src/util'
    cc convert_transport_security.c
    convert_transport_security.c: In function ‘handle_pinsets’:
    convert_transport_security.c:256:9: warning: ‘json_object_object_get’ is deprecated (declared at /usr/include/json-c/json_object.h:290) [-Wdeprecated-declarations]
    if((name_obj = json_object_object_get(pin_list, "name")) == NULL || !json_object_is_type(name_obj, json_type_string))
    ^
    convert_transport_security.c:263:9: warning: ‘json_object_object_get’ is deprecated (declared at /usr/include/json-c/json_object.h:290) [-Wdeprecated-declarations]
    good_hashes = json_object_object_get(pin_list, "static_spki_hashes");
    ^
    convert_transport_security.c:264:9: warning: ‘json_object_object_get’ is deprecated (declared at /usr/include/json-c/json_object.h:290) [-Wdeprecated-declarations]
    bad_hashes = json_object_object_get(pin_list, "bad_static_spki_hashes");
    ^
    convert_transport_security.c: In function ‘handle_entries’:
    convert_transport_security.c:297:9: warning: ‘json_object_object_get’ is deprecated (declared at /usr/include/json-c/json_object.h:290) [-Wdeprecated-declarations]
    if((name_obj = json_object_object_get(entry, "name")) == NULL ||
    ^
    convert_transport_security.c:307:9: warning: ‘json_object_object_get’ is deprecated (declared at /usr/include/json-c/json_object.h:290) [-Wdeprecated-declarations]
    json_object *mode = json_object_object_get(entry, "mode");
    ^
    convert_transport_security.c:315:9: warning: ‘json_object_object_get’ is deprecated (declared at /usr/include/json-c/json_object.h:290) [-Wdeprecated-declarations]
    json_object *include_subdomains = json_object_object_get(entry, "include_subdomains");
    ^
    convert_transport_security.c:327:9: warning: ‘json_object_object_get’ is deprecated (declared at /usr/include/json-c/json_object.h:290) [-Wdeprecated-declarations]
    if((entry_pins = json_object_object_get(entry, "pins")) != NULL)
    ^
    convert_transport_security.c: In function ‘parse_json’:
    convert_transport_security.c:371:5: warning: ‘json_object_object_get’ is deprecated (declared at /usr/include/json-c/json_object.h:290) [-Wdeprecated-declarations]
    if((pinsets = json_object_object_get(json, "pinsets")) == NULL || !json_object_is_type(pinsets, json_type_array) ||
    ^
    convert_transport_security.c:380:5: warning: ‘json_object_object_get’ is deprecated (declared at /usr/include/json-c/json_object.h:290) [-Wdeprecated-declarations]
    if((entries = json_object_object_get(json, "entries")) == NULL || !json_object_is_type(entries, json_type_array) ||
    ^
    gen hsts_preload.h
    /bin/sh: ./convert_transport_security: Permission denied
    Makefile:41: recipe for target '../../src/hsts_preload.h' failed
    make[1]: *** [../../src/hsts_preload.h] Error 126
    make[1]: Leaving directory '/tmp/pacaurtmp-bstaletic/dwb-git/src/dwb/src/util'
    Makefile:22: recipe for target 'src/util.subdir-buildfirst' failed
    make: *** [src/util.subdir-buildfirst] Error 2
    ==> ERROR: A failure occurred in build().
    Aborting...
    :: dwb-git cleaned
    bstaletic@arch ~ $ sudo pacaur -y dwb-git
    :: resolving dependencies...
    :: no AUR metadata for dwb-git package
    :: looking for inter-conflicts...
    AUR Packages (1):
    Name Old Version New Version
    aur/dwb-git latest
    :: Proceed with installation? [Y/n]
    :: Retrieving package(s)...
    :: View dwb-git PKGBUILD? [Y/n] n
    :: View dwb.install script? [Y/n] n
    ==> ERROR: Running makepkg as root is a BAD idea and can cause permanent,
    catastrophic damage to your system. If you wish to run as root, please
    use the --asroot option.
    :: Building dwb-git package(s)...
    ==> ERROR: Running makepkg as root is a BAD idea and can cause permanent,
    catastrophic damage to your system. If you wish to run as root, please
    use the --asroot option.
    :: dwb-git cleaned
    I get the same errors with -Sya and -Sa flags.

  • [SOLVED] How to submit AUR package updates?

    Since yesterday I started maintaining a package. Unfortunately I don't see how I can update it. Please help.
    Last edited by bstaletic (2014-06-20 17:07:17)

    Oh. I thought it would make a duplicate, thanks.

  • [solved] how to add aur packages

    I can't seem to figure out how to install packages from aur ive looked at the official page but clearly I am doing something wrong. I am trying to set up rutorrent.
    I added the yaourt but now i'm getting "yaourt" command not found.
    Any help would be great.
    Last edited by Arch-Hoochie (2014-10-07 14:51:04)

    I frequently voice a very negative bias against yaourt - so much so that I almost feel guilty about it now that I'm a moderator (almost).
    But all biases aside, if yaourt is a good tool for anyone, it is only for those who know how the aur works.  It seems you are not yet familiar with the basics, so a tool like yaourt will be a great hinderance preventing any future learning.
    Start out by just downloading the aur-tarballs and use makepkg to build (and even install if you'd like with makepkg -i or makepkg -si).  Once you get the idea of how all the moving parts work, then you can look into a helper tool - but there are *many* beside yaourt.
    The fact that many here have ranted about it over and over, yet the archlinux.fr page still advises new users to run the `pacman -Sy` command (which could very easily cause substantial problems) takes the 'almost' out of my first sentence: I am very comfortable publicly expressing my distaste for yaourt.

  • [SOLVED] How to install AUR packages with patchname.patch

    Hi all,
    I'm trying to install lottanzb from the AUR and there's are a dependency called par2cmdline 0.4-13 that has a lot of nameofpatch.patch that are included in the AUR par2cmdline 0.4-13 package page that just open up to a url that shows code.
    I created patch files from the code displayed in the url with a text editor and added them to the extracted LOTTANZB folder in my build directory but when I go to build the package with PKGBUILD it runs through a check sum while building and the checks don't match.
    I'm obviously doing something fundamentally wrong here. Can someone direct me?
    Thanks,
    Last edited by bennylb0 (2010-05-28 13:30:16)

    Hi, thanks for reply.
    Sorry, my mistake.
    I did place patch files inside the par2cmdline-0.4 folder. The only reason I created the .patch files and placed them inside par2cmdline-0.4 folder was because the PKGBUILD as well as the other 5 .patch files didn't exist inside the extracted build folder. They only place I could find them was in AUR par2cmdline-0.4 displayed as a url.
    When I copied and created the PKGBUILD as it did not exist inside the extracted folder par2cmdline-0.4 folder I received the following error:- 
    Error autoconf.patch was not found in the build directory and is not a url. That along with 4 others do not exist in the build directory.
    You can see this bellow:-
    [ben@ben par2cmdline-0.4]$ makepkg
    ==> Making package: par2cmdline 0.4-13 i686 (Fri May 28 22:08:21 EST 2010)
    ==> Checking Runtime Dependencies...
    ==> Checking Buildtime Dependencies...
    ==> Retrieving Sources...
      -> Downloading par2cmdline-0.4.tar.gz...
    --2010-05-28 22:08:23--  http://downloads.sourceforge.net/source … 0.4.tar.gz
    Resolving downloads.sourceforge.net... 216.34.181.59
    Connecting to downloads.sourceforge.net|216.34.181.59|:80... connected.
    HTTP request sent, awaiting response... 301 Moved Permanently
    Location: http://downloads.sourceforge.net/projec … 0.4.tar.gz [following]
    --2010-05-28 22:08:23--  http://downloads.sourceforge.net/projec … 0.4.tar.gz
    Reusing existing connection to downloads.sourceforge.net:80.
    HTTP request sent, awaiting response... 302 Found
    Location: http://transact.dl.sourceforge.net/proj … 0.4.tar.gz [following]
    --2010-05-28 22:08:24--  http://transact.dl.sourceforge.net/proj … 0.4.tar.gz
    Resolving transact.dl.sourceforge.net... 202.55.147.10
    Connecting to transact.dl.sourceforge.net|202.55.147.10|:80... connected.
    HTTP request sent, awaiting response... 200 OK
    Length: 239312 (234K) [application/x-gzip]
    Saving to: "par2cmdline-0.4.tar.gz.part"
    100%[===================================================>] 239,312      179K/s   in 1.3s   
    2010-05-28 22:08:26 (179 KB/s) - "par2cmdline-0.4.tar.gz.part" saved [239312/239312]
    ==> ERROR: par2cmdline-0.4-autoconf.patch was not found in the build directory and is not a URL.

  • [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] How to set the packager name for an AUR package?

    Hi,
       I'm maintaining an AUR package (fspcc), but I don't know how to set the name of the "packager" for that package.
    E.g. when you request info about some package
        $ pacman -Qi somepkg
    there is a line
        Packager: Unknown Packager
    that specifies the packager.
    How do I set this "Packager" info so that any user installing my package will see what I want?
    Last edited by lisztinf (2014-04-13 13:39:43)

    Thanks for the answer.
    I guess that when I run
       $ makepkg
    in my local build directory, then "mkpkg" will build a package with the "Packager" info set accordingly to my local makepkg.conf.
    However, I would like another user - with his own makepkg.conf - to see what I want when installing the package. How can I achieve this?
    If I install an official package - say pacman itself - through ABS, I see the "Packager" field properly set for that official package. But certainly this info doesn't come from my local makepkg.conf. I would like the same behaviour for my package. Is it possible?

  • [SOLVED] Remove / Uninstall 'supersonic' AUR package

    Hi guys, I am setting up a home server which will have OwnCloud and some music streaming with Subsonic.
    I read that Supersonic was a fork of Subsonic and was available on AUR so I installed that - though I cannot seem to get it to work, it starts OK but I cannot browse to MYHOMEURL:4040.
    Anyways, I am now gonna install the actual subsonic from AUR but I cannot seem to uninstall supersonic using pacman.
    Pacman -Rsnc supersonic
    ...returns 'error: target not found: supersonic'
    This is my first time using Arch and of course AUR so I cannot see how to remove this package.
    Last edited by kaipee (2012-07-11 19:32:59)

    kaipee wrote:
    Aah, right thanks Inxsible.
    Turns out it was 'supersonic-git'
    this forum needs a thanks button
    Don't forget to mark thread as [SOLVED]

  • How to list AUR packages in terminal with yaourt or other helper?

    I can list packages I have installed from AUR, for example to find all the developer components of Xfce that I have installed, I can run the following command:
        pacman -Qim | grep -E "Name           : xf".+devel
    Which outputs:
        Name           : xfce4-appfinder-devel
        Name           : xfce4-dev-tools-devel
        Name           : xfce4-panel-devel
        Name           : xfce4-session-devel
        Name           : xfce4-settings-devel
        Name           : xfdesktop-devel
        Name           : xfwm4-devel
    But, how do I find out if there are other packages that match the same regex pattern available in the AUR, maybe using yaourt? When I try:
        yaourt -Si | grep -E "Name           : xf".+devel
    I get no output. When I don't include .+devel, I find out that none of the AUR packages are included. If I try to force it to search the AUR by including -a, it says that's not a valid option.
    So, how do I search the AUR from the terminal?

    falconindy wrote:
    cower transparently supports regex -- but not thanks to the AUR. In reality, the query "xf.*-devel" is actually asking the AUR to search for "xf". The returned results are filtered against the regex "xf.*-devel" and out pops magic.
    Yaourt doesn't do this.
    I saw that, but Yaourt should be able to simply query the AUR without it trying to install stuff, but how? Does anyone know? I knew yaourt didn't support regex, that's why I was piping the output to grep. It worked for pacman, and works for yaourt when it uses pacman, but I can't figure out how to get it to return the contents of the AUR so I can pipe those contents through grep.

  • How to inspect AUR package PKBUILD and .install files

    Hi,
    Linux and arch newbie here. I was reading the wiki article about the AUR and noticed this bit:
    Warning: Carefully check all files. cd to the newly created directory and carefully check the PKGBUILD and any .install file for malicious commands. PKGBUILDs are bash scripts containing functions to be executed by makepkg: these functions can contain any valid commands or Bash syntax, so it is totally possible for a PKGBUILD to contain dangerous commands through malice or ignorance on the part of the author. Since makepkg uses fakeroot (and should never be run as root), there is some level of protection but you should never count on it. If in doubt, do not build the package and seek advice on the forums or mailing list.
    This is something that have not been doing at all in the past, but I am trying to improve my practices managing my system.
    The problem is, I do not know what exactly I am looking at or for in these files. If I give these files a look over before installing the package, can I honestly expect to spot something malicious? What would I need to learn to notice if something was fishy?
    Anyway, I am not to worried about this practically, because I only use a handful of AUR packages and I usually install ones based on recommendations, not just at random. But it still seemed interesting for the wiki to stress this so strongly. How important is this guidline anyway?
    Thanks!
    [EDIT: spelling]
    Last edited by supernerd (2014-06-25 10:41:13)

    I scan the whole PKGBUILD. I start by ensuring that the source link to the original source looks accurate. For example, take the source line for gmusicbrowser-git:
    source=("${pkgname}::git+http://github.com/squentin/gmusicbrowser.git")
    I know this is the correct link to the source, and so it passes my check. But suppose it had said:
    source=("${pkgname}::git+http://youvebeenhackedhub.com/1337haxorz/gmusicbrowser.git")
    I would become suspicious. Of course this is an exaggeration, but common sense goes a long ways here. At least check the first time..
    With the source verified, I ensure that the md5sum or sha256sum block has a sum. This way, if a download is compromised at the source, the sha256 or md5sum can catch it before you installed (this assumes that the PKGBUILD is not "bad" and has the sum number of a package that wasnt compromised). Note that with git this isnt necessary (the git process protects against such problems). Anytime a tarball is downloaded and extracted however, the sums should be present in the PKGBUILD. If I go to install an AUR package that has 'SKIP' for the md5sum/sha256sum block, I will double or triple check the source of the tarball (or of the patch files enclosed in the build directory, etc..)
    I also look for any "dangerous" commands in the build and install sections. For example, if I see "rm -rf" I had better see something like $pkgdir to start the directory path or be VERY sure the path is "safe". Since makepkg is not run as root this should theoretically not be a problem, but imagine if someone put "rm -rf /home/*" (warning: do not run that command on your system!) in there! This is mostly common sense; in time as you get more comfortable with bash and various linux commands it will make more and more sense and you will be able to spot mistakes.
    Also, consider the user posting the pkgbuild. "Trusted Users" are selected as trustworthy members of the community, so obviously you can feel much more comfortable with PKGBUILDS they have made (Xyne comes to mind..). For people you may not know, check what other PKGBUILDs they have available. After awhile, you develop a trust for certain people whos PKGBUILDs or software you have used. For example, I wouldnt hesitate to build/install using a PKGBUILD put up by BurntSushi since I use some of his software, have personally corresponded with him, and find him to be responsible. You might "develop" such rapport with other AUR users I dont even know about.
    Consider the vote count of a package as an approximate metric. Dont discount a package because it has 0 votes- it may just be that not many people have use for that particular software. Ive considered hosting a PKGBUILD for "xfce4-terminal-nowindowhints"; consider that tilers generally ignore them anyway, and that my package would only be useful for someone literally using xfce4-terminal with pytyle. How high do you think the vote count would be (even if the PKGBUILD had 0 errors)? On the other hand, you at least have a good chance the PKGBUILD is solid if the package has 354 people voting for it.. That said, the package could have been well-maintained before (when it received a ton of votes), and the quality has dropped since- just be mindful of these trends.
    Finally, adding all of these things together will leave the odds of a malicious PKGBUILD affecting your system pretty slim, though its certainly not impossible. I have never (to my knowledge to be fair) encountered a malicious PKGBUILD, though I have found a few that had errors or outdated sources, etc.
    Last edited by GSF1200S (2014-06-29 10:13:50)

  • How to include aur packages in larch profile? [solved]

    Ive been recently making some live systems with larch and found it quite useful
    Im having problems with including software from aur (such as yaourt) in my livedvd. Is there a way to do this?
    Last edited by mafik (2009-02-18 21:24:54)

    Perhaps use yaourt to build each package from the aur that you want, then copy all those packages to a directory, and use the gen_repo command from the larch (larch/run/gen_repo) package to make that directory a custom repository. That's how I had to add the recompiled aufs package to my larch setup.
    Good luck!
    Scott

  • [SOLVED] updating aur package "install: cannot stat ...: No such file"

    This is my first attempt at creating a new package so I decided to update the orphaned crtmpserver package and I'm getting an error where makepkg cannot locate a file...
    I'm test building the package in /var/abs/local/rtmpd directory which contains two files PKGBUILD and rtmpd.service.
    PKGBUILD:
    pkgname=rtmpd-svn
    pkgver=811
    pkgrel=1.1
    pkgdesc="High performance rtmp streaming server"
    arch=('i686' 'x86_64')
    url="http://www.rtmpd.com"
    license=('GPL')
    depends=('openssl')
    makedepends=('subversion' 'cmake' 'lua')
    provides=('crtmpserver')
    conflicts=('crtmpserver')
    _svntrunk='https://svn.rtmpd.com/crtmpserver/trunk'
    _svnmod='crtmpserver'
    _svnbuild='crtmpserver/crtmpserver'
    source=('rtmpd.service')
    md5sums=('SKIP')
    build() {
    msg "Starting SVN checkout"
    svn co --non-interactive --no-auth-cache --username anonymous --password "" https://svn.rtmpd.com/crtmpserver/trunk crtmpserver
    cd $_svnmod/builders/cmake
    sh cleanup.sh
    cmake -DCRTMPSERVER_INSTALL_PREFIX=/usr
    make
    package(){
    cd $_svnmod/builders/cmake
    make DESTDIR="$pkgdir" install
    install -dm644 "$pkgdir/etc/crtmpserver"
    mv "$pkgdir/usr/etc/crtmpserver.lua.sample" "$pkgdir/etc/crtmpserver"
    rm -rf "$pkgdir/usr/etc"
    install -D -m644 "rtmpd.service" "$pkgdir/usr/lib/systemd/system/rtmpd.service"
    Here's the output from running makepkg
    [ourhome@server rtmpd]$ makepkg > log
    ==> Making package: rtmpd-svn 811-1.1 (Sun Feb 8 14:42:27 PST 2015)
    ==> Checking runtime dependencies...
    ==> Checking buildtime dependencies...
    ==> Retrieving sources...
    -> Found rtmpd.service
    ==> Validating source files with md5sums...
    rtmpd.service ... Skipped
    ==> Extracting sources...
    ==> Starting build()...
    ==> Starting SVN checkout
    A crtmpserver/3rdparty
    A crtmpserver/3rdparty/lua-dev
    A crtmpserver/3rdparty/lua-dev/lundump.h
    A crtmpserver/3rdparty/lua-dev/lapi.h
    A crtmpserver/sources/androidapplestreaming/src/variantconnection.cpp
    A crtmpserver/sources/androidapplestreaming/src/jniwrapper.cpp
    Checked out revision 811.
    -- The C compiler identification is GNU 4.9.2
    -- The CXX compiler identification is GNU 4.9.2
    -- Check for working C compiler: /usr/bin/cc
    ==> Entering fakeroot environment...
    ==> Starting package()...
    Install the project...
    -- Install configuration: "Debug"
    -- Installing: /var/abs/local/rtmpd/pkg/rtmpd-svn/usr/lib/crtmpserver/libtinyxml.so
    -- Installing: /var/abs/local/rtmpd/pkg/rtmpd-svn/usr/lib/crtmpserver/libcommon.so
    -- Installing: /var/abs/local/rtmpd/pkg/rtmpd-svn/usr/lib/crtmpserver/libthelib.so
    -- Installing: /var/abs/local/rtmpd/pkg/rtmpd-svn/usr/lib/crtmpserver/applications/flvplayback/libflvplayback.so
    -- Installing: /var/abs/local/rtmpd/pkg/rtmpd-svn/usr/lib/crtmpserver/applications/appselector/libappselector.so
    -- Installing: /var/abs/local/rtmpd/pkg/rtmpd-svn/usr/lib/crtmpserver/applications/samplefactory/libsamplefactory.so
    -- Installing: /var/abs/local/rtmpd/pkg/rtmpd-svn/usr/lib/crtmpserver/applications/vptests/libvptests.so
    -- Installing: /var/abs/local/rtmpd/pkg/rtmpd-svn/usr/lib/crtmpserver/applications/admin/libadmin.so
    -- Installing: /var/abs/local/rtmpd/pkg/rtmpd-svn/usr/lib/crtmpserver/applications/proxypublish/libproxypublish.so
    -- Installing: /var/abs/local/rtmpd/pkg/rtmpd-svn/usr/lib/crtmpserver/applications/stresstest/libstresstest.so
    -- Installing: /var/abs/local/rtmpd/pkg/rtmpd-svn/usr/sbin/crtmpserver
    -- Installing: /var/abs/local/rtmpd/pkg/rtmpd-svn/usr/etc/crtmpserver.lua.sample
    -- Installing: /var/abs/local/rtmpd/pkg/rtmpd-svn/usr/man/man1/crtmpserver.1
    install: cannot stat ‘rtmpd.service’: No such file or directory
    ==> ERROR: A failure occurred in package().
    Aborting...
    and that's the mystery to me.  Makepkg finds rtmpd.service when it starts but cannot find it when it's time to package.
    Where's it looking ?
    Last edited by gillecaluim (2015-02-08 23:36:50)

    The service file is in $srcdir, not $_svnmod/builders/cmake.
    You're using an outdated PKGBUILD template too. The svn source should be included in the source array and not checked out manually during the build process.
    EDIT: since this repository requires authentication, perhaps the correct format won't work.
    Last edited by WorMzy (2015-02-08 23:07:59)

  • [Solved] Maitreya's dream AUR Package

    Hi all - first off, I didn't know where else to ask for help about unsupported software, which is why I am posting in this subforum. I know that I might need to ask the author of the program about this, but just in case someone here could help out on this....
    I am trying to install a software called Maitreya's Dream. The program requires wxwidgets for successful compilation. For that I installed wxgtk from extra. It also needs a special font, for which I have copied the needed font into the /usr/share/fonts/TTF and done a fc-cache -f -v. The installation instructions were...
    ./configure
    make
    and to start the program by going to src/gui and typing
    ./maitreya
    Though ./configure and make seemed to go without problems, i could not start the program after cding to src/gui and trying ./maitreya - instead I got this error.
    Fatal Error: stat failed, errno is 2.
    I googled and found this in the Ubuntu forums. according to this page i got that error because wxwidgets(wxgtk) does not have unicode.
    But how can I find out whether the extra wxgtk package has unicode support or not...?
    I would really like to get this software working because it would remove the last need for me to have wine installed on my Arch64 system.
    thanks for any replies.
    Last edited by jaydoc (2009-05-03 20:39:48)

    ok seems like i fixed it. this pkgbuild works for me on x86_64:
    PKGBUILD
    pkgname=maitreya
    pkgver=5.0.1
    pkgrel=1
    pkgdesc="A free software for Vedic and western astrology"
    arch=(i686 x86_64)
    license=('Artistic')
    url="http://www.saravali.de/maitreya/index.html"
    depends=('wxgtk')
    source=(http://prdownloads.sourceforge.net/$pkgname/$pkgname-$pkgver.tar.bz2)
    install=maitreya.install
    build() {
    cd $startdir/src/$pkgname-$pkgver
    #fix symbolic link creation
    sed -i "s#\${prefix}/maitreya/maitreya#${pkgdir}/usr/maitreya/maitreya#g" Makefile.am || return 1
    sed -i "s#/usr/local/bin#${pkgdir}/usr/bin#g" Makefile.am || return 1
    #create directory for symbolic link
    mkdir -p $pkgdir/usr/bin/
    #configure && make
    ./configure --prefix=/usr
    make || return 1
    make DESTDIR=$startdir/pkg install || return 1
    #move font
    mkdir -p $pkgdir/usr/share/fonts/truetype
    mv $pkgdir/usr/maitreya/fonts/MaitreyaSymbols.ttf $pkgdir/usr/share/fonts/truetype/
    maitreya.install
    # arg 1: the new package version
    post_install() {
    /usr/bin/fc-cache -f -v
    # arg 1: the new package version
    # arg 2: the old package version
    post_upgrade() {
    post_install $1
    op=$1
    shift
    $op $*
    to install, save the code fragments in a directory as PKGBUILD and maitreya.install and run "makepkg -cis".
    if i'm doing something stupid in the PKGBUILD please tell me
    edit: added to AUR http://aur.archlinux.org/packages.php?ID=26194
    if somebody that actually uses this would like to maintain the package just tell me and i'll orphan it
    Last edited by schuay (2009-05-03 13:01:18)

  • Unable to update aur packages

    I'm using yaourt to install packages and keep my system up to date. Whenever I run $yaourt -Syu I can update packages from core, extra and community but never aur. Is something wrongly configured?
    Any help would be much appreciated.

    RTFM, dude
    yaourt -Syu --aur is what you're looking for.

Maybe you are looking for

  • GS70 Clean install of 8.1 Pro but no sound

    I had a problem persisting before I did the clean install of 8.1 on my GS70 where after I restarted my computer the audio suddenly stated that I had no audio devices installed. After trying to search and try fixes for about 2 hours I went ahead and d

  • How do thermal failures show up in OS X

    I had an Intel system that had multiple partitions (Windows, FreeBSD, Linux). I typically used it just for Windows as the system was pretty old. Anyway, one day it started locking up under sporadically under Windows (XP, FWIW) and I just blamed it on

  • /oradata/test/test002  how i can check how much space is free here

    What is command to check free space here at HP/UX /oradata/test/test002

  • Break line in sending mail program

    Hi All, I am creating sending mail program, its working fine but  for that i have problem in break line. my code is below: doc_chng-obj_descr = 'SAP test mail'. Mail Contents      loop at itab..     CONCATENATE 'sap test mail UPDATED:' ''   INTO it_o

  • Running lightroom catalog on an MS-DOS drive

    I need to create a cartalog that both PC and Mac users can access. I created the catalog (LR 3.4.1) and loaded the pictures on my mac, then copied the entire folder (previews, catalog file, pictures and all) to the MS-DOS drive, but when I open the c