[SOLVED] sbcl-git PKGBUILD

I'm trying to write a sbcl-git PKGBUILD so people can circumvent some sbcl bugs and install stumpwm-git, here's my attempt thus far which fails miserably.
Edit: solved, big thanks to acieroid who provided the pkgbuild:
http://aur.archlinux.org/packages.php?ID=45922
Last edited by drot (2011-01-30 20:39:05)

It currently looks like this:
# Maintainer: Gerardo Marset <[email protected]>
pkgname=lci-git
pkgver=20110413
pkgrel=1
pkgdesc="A simple and fast 1.2 lolcode interpreter written in C."
arch=('i686' 'x86_64')
url="http://icanhaslolcode.org/"
license=('GPL3')
makedepends=('git')
provides=('lci')
conflicts=('lci')
_gitroot="https://github.com/justinmeza/lci.git"
_gitname="lci"
build() {
cd "$srcdir"
msg "Connecting to GIT server...."
if [ -d $_gitname ] ; then
cd $_gitname && git pull origin
msg "The local files are updated."
else
git clone $_gitroot $_gitname
fi
msg "GIT checkout done or server timeout"
msg "Starting make..."
rm -rf "$srcdir/$_gitname-build"
git clone "$srcdir/$_gitname" "$srcdir/$_gitname-build"
cd "$srcdir/$_gitname-build"
make
make check
install -Dm755 lci ${pkgdir}/usr/bin/lci

Similar Messages

  • [SOLVED] ocrfeeder-git PKGBUILD doesn't work

    https://aur.archlinux.org/packages/ocrfeeder-git/
    [pippo@linux ocrfeeder-git]$ makepkg -s
    ==> Creazione del pacchetto: ocrfeeder-git 0.7.11.20.g22218bc-1 (mar 18 nov 2014, 14.32.01, CET)
    ==> Controllo delle dipendenze durante l'avvio in corso...
    ==> Controllo delle dipendenze durante la compilazione in corso...
    ==> Download dei sorgenti in corso...
    -> Clonazione del repository ocrfeeder git in corso...
    Clone nel repository spoglio '/home/pippo/TEMP/ocrfeeder-git/ocrfeeder'...
    remote: Counting objects: 3584, done.
    remote: Compressing objects: 100% (2578/2578), done.
    remote: Total 3584 (delta 2415), reused 1346 (delta 936)
    Ricezione degli oggetti: 100% (3584/3584), 1.71 MiB | 510.00 KiB/s, done.
    Risoluzione dei delta: 100% (2415/2415), done.
    Checking connectivity... fatto.
    ==> Validazione dei sorgenti con sha512sums in corso...
    ocrfeeder ... Ignorato
    ==> Estrazione dei sorgenti in corso...
    -> Creazione di una copia di lavoro del repository ocrfeeder git in corso...
    Cloning into 'ocrfeeder'...
    fatto.
    ==> Avvio di pkgver() in corso...
    ==> Versione aggiornata: ocrfeeder-git 0.8-1
    ==> Avvio di build() in corso...
    /usr/bin/gnome-autogen.sh
    checking for automake >= 1.11.2...
    testing automake... found 1.14.1
    checking for autoreconf >= 2.53...
    testing autoreconf... found 2.69
    checking for glib-gettext >= 2.2.0...
    testing glib-gettextize... found 2.42.0
    checking for intltool >= 0.25...
    testing intltoolize... found 0.50.2
    checking for gnome-doc-utils >= 0.4.2...
    testing gnome-doc-prepare... found 0.20.10
    Checking for required M4 macros...
    Processing ./configure.ac
    Running glib-gettextize... Ignore non-fatal messages.
    Copying file po/Makefile.in.in
    Please add the files
    codeset.m4 gettext.m4 glibc21.m4 iconv.m4 isc-posix.m4 lcmessage.m4
    progtest.m4
    from the /usr/share/aclocal directory to your autoconf macro directory
    or directly to your aclocal.m4 file.
    You will also need config.guess and config.sub, which you can get from
    ftp://ftp.gnu.org/pub/gnu/config/.
    Running gnome-doc-prepare...
    You should add the contents of '/usr/share/aclocal/gnome-doc-utils.m4' to 'aclocal.m4'.
    Putting files in AC_CONFIG_MACRO_DIR, 'm4'.
    Running intltoolize...
    Running autoreconf...
    autoreconf: Entering directory `.'
    autoreconf: configure.ac: not using Gettext
    autoreconf: running: aclocal --force --warnings=no-portability -I m4 ${ACLOCAL_FLAGS}
    autoreconf: configure.ac: tracing
    autoreconf: configure.ac: not using Libtool
    autoreconf: running: /usr/bin/autoconf --force --warnings=no-portability
    autoreconf: configure.ac: not using Autoheader
    autoreconf: running: automake --add-missing --copy --force-missing --warnings=no-portability
    configure.ac:48: installing './compile'
    configure.ac:9: installing './install-sh'
    configure.ac:9: installing './missing'
    Makefile.am: installing './INSTALL'
    src/ocrfeeder/Makefile.am:3: installing './py-compile'
    autoreconf: Leaving directory `.'
    Running ./configure --enable-maintainer-mode PYTHON=python2 ...
    checking for a BSD-compatible install... /usr/bin/install -c
    checking whether build environment is sane... yes
    checking for a thread-safe mkdir -p... /usr/bin/mkdir -p
    checking for gawk... gawk
    checking whether make sets $(MAKE)... yes
    checking whether make supports nested variables... yes
    checking whether to enable maintainer-specific portions of Makefiles... yes
    checking whether make supports nested variables... (cached) yes
    checking whether python2 version is >= 2.5... yes
    checking for python2 version... 2.7
    checking for python2 platform... linux2
    checking for python2 script directory... ${prefix}/lib/python2.7/site-packages
    checking for python2 extension module directory... ${exec_prefix}/lib/python2.7/site-packages
    checking python2 module: enchant... yes
    checking python2 module: sane... yes
    checking python2 module: PIL... yes
    checking python2 module: reportlab... yes
    checking python2 module: gobject... yes
    checking gobject introspection module Gtk... yes
    checking gobject introspection module GooCanvas... no
    configure: error: failed to find required GObject Introspection module GooCanvas
    ==> ERRORE: Si è verificato un errore in build().
    L'operazione sta per essere interrotta...
    with yaourt:
    ocrfeeder-git 0.7.11.20.g22218bc-1 (gio 19 set 2013, 16.13.18, CEST)
    ( Pacchetto non supportato: Potenzialmente pericoloso! )
    ==> Modificare PKGBUILD [S/n] ("A" per annullare)
    ==> ----------------------------------------------
    ==> n
    ==> Dipendenze di ocrfeeder-git
    - python2-pyenchant (già installato)
    - pygoocanvas (già installato)
    - python2-gtkspell (già installato)
    - python2-imaging (già installato)
    - python2-lxml (già installato)
    - python2-reportlab (già installato)
    - ghostscript (già installato)
    - unpaper (già installato)
    - sane (già installato)
    - desktop-file-utils (già installato)
    - intltool (già installato)
    - gnome-doc-utils (già installato)
    - gnome-common (già installato)
    ==> Modificare ocrfeeder.install [S/n] ("A" per annullare)
    ==> -------------------------------------------------------
    ==> n
    ==> Continuare la compilazione di ocrfeeder-git [S/n]
    ==> -------------------------------------------------
    ==>
    ==> Compilazione e installazione del pacchetto
    ==> Creazione del pacchetto: ocrfeeder-git 0.7.11.20.g22218bc-1 (mar 18 nov 2014, 18.53.10, CET)
    ==> Controllo delle dipendenze durante l'avvio in corso...
    ==> Controllo delle dipendenze durante la compilazione in corso...
    ==> Download dei sorgenti in corso...
    -> Clonazione del repository ocrfeeder git in corso...
    Clone nel repository spoglio '/tmp/yaourt-tmp-pippo/aur-ocrfeeder-git/ocrfeeder'...
    remote: Counting objects: 3584, done.
    remote: Compressing objects: 100% (2578/2578), done.
    remote: Total 3584 (delta 2414), reused 1346 (delta 936)
    Ricezione degli oggetti: 100% (3584/3584), 1.71 MiB | 556.00 KiB/s, done.
    Risoluzione dei delta: 100% (2414/2414), done.
    Checking connectivity... fatto.
    ==> Validazione dei sorgenti con sha512sums in corso...
    ocrfeeder ... Ignorato
    ==> Estrazione dei sorgenti in corso...
    -> Creazione di una copia di lavoro del repository ocrfeeder git in corso...
    Cloning into 'ocrfeeder'...
    fatto.
    ==> Avvio di pkgver() in corso...
    ==> Versione aggiornata: ocrfeeder-git 0.8-1
    ==> Avvio di build() in corso...
    /usr/bin/gnome-autogen.sh
    checking for automake >= 1.11.2...
    testing automake... found 1.14.1
    checking for autoreconf >= 2.53...
    testing autoreconf... found 2.69
    checking for glib-gettext >= 2.2.0...
    testing glib-gettextize... found 2.42.0
    checking for intltool >= 0.25...
    testing intltoolize... found 0.50.2
    checking for gnome-doc-utils >= 0.4.2...
    testing gnome-doc-prepare... found 0.20.10
    Checking for required M4 macros...
    Processing ./configure.ac
    Running glib-gettextize... Ignore non-fatal messages.
    Copying file po/Makefile.in.in
    Please add the files
    codeset.m4 gettext.m4 glibc21.m4 iconv.m4 isc-posix.m4 lcmessage.m4
    progtest.m4
    from the /usr/share/aclocal directory to your autoconf macro directory
    or directly to your aclocal.m4 file.
    You will also need config.guess and config.sub, which you can get from
    ftp://ftp.gnu.org/pub/gnu/config/.
    Running gnome-doc-prepare...
    You should add the contents of '/usr/share/aclocal/gnome-doc-utils.m4' to 'aclocal.m4'.
    Putting files in AC_CONFIG_MACRO_DIR, 'm4'.
    Running intltoolize...
    Running autoreconf...
    autoreconf: Entering directory `.'
    autoreconf: configure.ac: not using Gettext
    autoreconf: running: aclocal --force --warnings=no-portability -I m4 ${ACLOCAL_FLAGS}
    autoreconf: configure.ac: tracing
    autoreconf: configure.ac: not using Libtool
    autoreconf: running: /usr/bin/autoconf --force --warnings=no-portability
    autoreconf: configure.ac: not using Autoheader
    autoreconf: running: automake --add-missing --copy --force-missing --warnings=no-portability
    configure.ac:48: installing './compile'
    configure.ac:9: installing './install-sh'
    configure.ac:9: installing './missing'
    Makefile.am: installing './INSTALL'
    src/ocrfeeder/Makefile.am:3: installing './py-compile'
    autoreconf: Leaving directory `.'
    Running ./configure --enable-maintainer-mode PYTHON=python2 ...
    checking for a BSD-compatible install... /usr/bin/install -c
    checking whether build environment is sane... yes
    checking for a thread-safe mkdir -p... /usr/bin/mkdir -p
    checking for gawk... gawk
    checking whether make sets $(MAKE)... yes
    checking whether make supports nested variables... yes
    checking whether to enable maintainer-specific portions of Makefiles... yes
    checking whether make supports nested variables... (cached) yes
    checking whether python2 version is >= 2.5... yes
    checking for python2 version... 2.7
    checking for python2 platform... linux2
    checking for python2 script directory... ${prefix}/lib/python2.7/site-packages
    checking for python2 extension module directory... ${exec_prefix}/lib/python2.7/site-packages
    checking python2 module: enchant... yes
    checking python2 module: sane... yes
    checking python2 module: PIL... yes
    checking python2 module: reportlab... yes
    checking python2 module: gobject... yes
    checking gobject introspection module Gtk... yes
    checking gobject introspection module GooCanvas... no
    configure: error: failed to find required GObject Introspection module GooCanvas
    ==> ERRORE: Si è verificato un errore in build().
    L'operazione sta per essere interrotta...
    ==> ERRORE: Makepkg non è riuscito a compilare ocrfeeder-git.
    ==> Riavviare la compilazione di ocrfeeder-git [s/N]
    ==> ------------------------------------------------
    ==>
    $ pacman -Q|grep canvas
    goocanvas1 1.0.0-3
    pygoocanvas 0.14.1-6
    EDIT:
    SOLVED:
    # pacman -S goocanvas
    Last edited by quellen (2014-11-18 18:02:18)

    VCS PKGBUILDs need to include the VCS type at the end of the pkgname. In this case your package should be named "wifiz-git".
    Here's an updated version of your PKGBUILD:
    # Maintainer: Cody Dostal <[email protected]>
    pkgname=wifiz-git
    _gitname=WiFiz
    pkgver=0.9.2.2.r1.g8147a9f
    pkgrel=1
    pkgdesc="NetCTL GUI Frontend, written in wxPython. Stable Version."
    arch=('any')
    url="https://github.com/codywd/$_gitname"
    license=('MIT')
    depends=('python2' 'wxpython' 'wireless_tools' 'netctl' 'wpa_supplicant')
    makedepends=('git')
    optdepends=('gedit: manually edit profiles')
    conflicts=('wifiz' 'wifiz-nightly')
    provides=('wifiz')
    source=("git://github.com/codywd/$_gitname.git")
    sha256sums=('SKIP')
    pkgver() {
    cd "$srcdir/$_gitname"
    git describe --always --long | sed -E 's/([^-]*-g)/r\1/;s/-/./g'
    package() {
    cd "$srcdir/$_gitname"
    python2 setup.py install --root="$pkgdir/" --optimize=1
    Note the following changes:
    pkgname
    conflicts with "wifiz" (all VCS packages should provide and conflict with their non-VCS equivalents)
    removed redundant echo and shell invocation from pkgver function
    "$srcdir/$_gitname" instead of "$_gitname" in pkgver function: the git repo will not be in the same directory if the user sets SRCDIR in makepkg.conf

  • [Solved] [audacious-git] dependency question

    Hi, I maintain audacious-git and audacious-plugins-git and have a question:
    audacious-plugins-git should be a dependency of audacious-git.
    On the other side audacious-git should be a makedependency of audacious-git.
    This is the case for the packages from [extra] (of course without -git)
    How is it now possible to compile audacious / audacious-plugins if both packages are not installed?
    And how should I handle this in the PKGBUILD?
    Thanks for an answer
    Radioactiveman
    Last edited by Radioactiveman (2011-06-24 12:32:59)

    The audacious-plugins package need only be a dependency of audacious for usability reasons: it is not required to build it. So it is easy to "manually" bootstrap by first compiling an audacious PKGBUILD without the audacious-plugins dependency. In the AUR, of course, that's not so handy, and I believe the best solution to your issue is to have audacious-plugins-git as an optdepends (not a depends) in the audacious-git PKGBUILD, and remind your users that they very likely want to install it.

  • [solved] glib-git build fails with gdbus-codegen/python error

    Has anyone succeeded to install glib-git lately? For me, the build fails with the following error:
    Making all in tests
    make[4]: Entering directory `/tmp/clyde-carlos/glib-git/glib-git/src/glib-build/gio/tests'
    GEN gdbus-test-codegen-generated.c
    Traceback (most recent call last):
    File "../../gio/gdbus-codegen/codegen_main.py", line 200, in <module>
    codegen_main()
    File "../../gio/gdbus-codegen/codegen_main.py", line 171, in codegen_main
    parsed_ifaces = parser.parse_dbus_xml(xml_data)
    File "/tmp/clyde-carlos/glib-git/glib-git/src/glib-build/gio/gdbus-codegen/parser.py", line 289, in parse_dbus_xml
    parser = DBusXMLParser(xml_data)
    File "/tmp/clyde-carlos/glib-git/glib-git/src/glib-build/gio/gdbus-codegen/parser.py", line 57, in __init__
    self._parser.Parse(xml_data)
    File "/tmp/clyde-carlos/glib-git/glib-git/src/glib-build/gio/gdbus-codegen/parser.py", line 155, in handle_start_element
    if attrs.has_key('name') and self.doc_comment_last_symbol == attrs['name']:
    AttributeError: 'dict' object has no attribute 'has_key'
    make[4]: *** [gdbus-test-codegen-generated.c] Error 1
    make[4]: Leaving directory `/tmp/clyde-carlos/glib-git/glib-git/src/glib-build/gio/tests'
    make[3]: *** [all-recursive] Error 1
    make[3]: Leaving directory `/tmp/clyde-carlos/glib-git/glib-git/src/glib-build/gio'
    make[2]: *** [all] Error 2
    make[2]: Leaving directory `/tmp/clyde-carlos/glib-git/glib-git/src/glib-build/gio'
    make[1]: *** [all-recursive] Error 1
    make[1]: Leaving directory `/tmp/clyde-carlos/glib-git/glib-git/src/glib-build'
    make: *** [all] Error 2
    ==> ERROR: A failure occurred in build().
    Aborting...
    It is not the PKGBUILD's fault, apparently, as the same error occurs when I autogen-configure-make manually. So is there something wrong with my system, the python setup maybe? (I tried manually replacing "python" by "python2.7" in the Makefile – no success.) Or is it an upstream bug, maybe related to this bug? Is there anything I can do?
    Sorry if the answer is obvious, but I really do not feel like I understand this python stuff properly. Also, sorry for duplicating my AUR comments – it was only today that I figured I might get more response in the forum.
    Last edited by Franek (2011-08-23 13:33:23)

    Don't panic, I don't. Just did not have time before now.
    EDIT: Done. I am still throwing in the towel, though. I was trying to make a gtkmm-git PKGBUILD, because I need the latest gtkmm for development. However for gtkmm-git I needed gtk-git, for which I needed glib-git and pango-git. I successfully (at least it appears so) managed to install glib-git and pango-git, but now I get a linker error with gtk-git and will not spend another day looking for its source. I will just wait until gtkmm-3.1 is released.
    EDIT 2: Alright, it appears there must have been something wrong with my "successfull" installs as well, as I just started a gtk app (Balsa) and it did not have any font, just rectangles for letters. Replacing glib-git and pango-git with their stable counterparts turned everything right again.
    Last edited by Franek (2011-08-23 20:46:47)

  • [Solved]Wicked-git

    When trying to compile wicked-git, I get this output:
    yaourt -S wicked-git
    ==> Resuming previous build
    ==> Downloading wicked-git PKGBUILD from AUR...
    tar: Record size = 7 blocks
    First Submitted: Thu, 29 May 2008 12:23:16 +0000
    wicked-git 20090112-1 (Unsupported): Wicked widgets for the development version of the awesome window manager
    ==> Edit the PKGBUILD (recommended) ? [Y/n]("A" to abort)
    ==> ----------------------------------------------
    ==>n
    ==> wicked-git dependencies:
    - awesome (already installed)
    - git (already installed)
    ==> Continue the building of wicked-git ? [Y/n]
    ==> ----------------------------------------------
    ==>y
    ==> Building and installing package
    mkdir: cannot create directory `/var/abs/local/yaourtbuild': Permission denied
    ==> WARNING: Unable to write in /var/abs/local/yaourtbuild/wicked-git directory. Using /tmp directory
    ==> Determining latest git revision...
    -> Version found: 20090217
    ==> Making package: wicked-git 20090217-1 x86_64 (Tue Feb 17 19:39:34 PST 2009)
    ==> Checking Runtime Dependencies...
    ==> Checking Buildtime Dependencies...
    ==> Retrieving Sources...
    ==> Validating source files with md5sums...
    ==> Extracting Sources...
    ==> Removing existing pkg/ directory...
    ==> Entering fakeroot environment...
    ==> Starting build()...
    ==> Connecting to git server....
    Initialized empty Git repository in /tmp/yaourt-tmp-shawn/aur-wicked-git/wicked-git/src/wicked/.git/
    fatal: The remote end hung up unexpectedly
    ==> GIT checkout done or server timeout
    luac: cannot open /tmp/yaourt-tmp-shawn/aur-wicked-git/wicked-git/src/wicked/wicked.lua: No such file or directory
    install: cannot stat `/tmp/yaourt-tmp-shawn/aur-wicked-git/wicked-git/src/wicked/wicked.lua': No such file or directory
    install: cannot stat `/tmp/yaourt-tmp-shawn/aur-wicked-git/wicked-git/src/wicked/wicked.luac': No such file or directory
    install: cannot stat `/tmp/yaourt-tmp-shawn/aur-wicked-git/wicked-git/src/wicked/wicked.7.gz': No such file or directory
    ==> ERROR: Build Failed.
    Aborting...
    Error: Makepkg was unable to build wicked-git package.
    It seems that it cannot connect to the git page, but I can get to the page fine.
    Last edited by Reasons (2009-02-18 04:33:27)

    No change.
    [reasons // ~/Desktop/wicked] yaourt -G wicked-git
    --2009-02-17 19:59:48-- http://aur.archlinux.org/packages/wicked-git/wicked-git.tar.
    gz
    Resolving aur.archlinux.org... 66.211.213.17
    Connecting to aur.archlinux.org|66.211.213.17|:80... connected.
    HTTP request sent, awaiting response... 200 OK
    Length: 646 [application/x-gzip]
    Saving to: `wicked-git.tar.gz'
    100%[===========================================>] 646 --.-K/s in 0s
    2009-02-17 19:59:48 (95.4 MB/s) - `wicked-git.tar.gz' saved [646/646]
    [reasons // ~/Desktop/wicked] makepkg
    ==> Determining latest git revision...
    -> Version found: 20090217
    ==> Making package: wicked-git 20090217-1 x86_64 (Tue Feb 17 19:59:50 PST 2009)
    ==> Checking Runtime Dependencies...
    ==> Checking Buildtime Dependencies...
    ==> Retrieving Sources...
    ==> Validating source files with md5sums...
    ==> Extracting Sources...
    ==> Entering fakeroot environment...
    ==> Starting build()...
    ==> Connecting to git server....
    Initialized empty Git repository in /home/shawn/Desktop/wicked/src/wicked/.git/
    fatal: The remote end hung up unexpectedly
    ==> GIT checkout done or server timeout
    luac: cannot open /home/shawn/Desktop/wicked/src/wicked/wicked.lua: No such file or d
    irectory
    install: cannot stat `/home/shawn/Desktop/wicked/src/wicked/wicked.lua': No such file
    or directory
    install: cannot stat `/home/shawn/Desktop/wicked/src/wicked/wicked.luac': No such fil
    e or directory
    install: cannot stat `/home/shawn/Desktop/wicked/src/wicked/wicked.7.gz': No such fil
    e or directory
    ==> ERROR: Build Failed.
    Aborting...
    [reasons // ~/Desktop/wicked]

  • [SOLVED] vala-git build fails -- autoconf problems?

    My system is up to date as of today and I have the regular extra/vala 0.16.0-1 installed. When building aur/vala-git with yaourt I get this:
    ==> Starting build...
    Cloning into '/tmp/yaourt-tmp-herman/aur-vala-git/src/vala-build'...
    done.
    autoreconf: Entering directory `.'
    autoreconf: configure.ac: not using Gettext
    autoreconf: running: aclocal -I m4
    autoreconf: configure.ac: tracing
    autoreconf: configure.ac: not using Libtool
    autoreconf: running: /usr/bin/autoconf
    configure.ac:25: error: possibly undefined macro: AC_DISABLE_STATIC
    If this token and others are legitimate, please use m4_pattern_allow.
    See the Autoconf documentation.
    configure.ac:26: error: possibly undefined macro: AC_PROG_LIBTOOL
    autoreconf: /usr/bin/autoconf failed with exit status: 1
    ==> ERROR: A failure occurred in build().
    Aborting...
    ==> ERROR: Makepkg was unable to build vala-git.
    ==> Restart building vala-git ? [y/N]
    ==> ---------------------------------
    ==>
    ==> WARNING: Following packages have not been installed:
    vala-git
    The reason I want to install it is that cario-compmgr is also failing to build. Do I need to tweak some PKGBUILD settings or the .install here? These files seems fine. Appreciate your time.
    Solution: install the WHOLE base-devel package
    Last edited by hesse (2012-06-16 22:32:42)

    Don't panic, I don't. Just did not have time before now.
    EDIT: Done. I am still throwing in the towel, though. I was trying to make a gtkmm-git PKGBUILD, because I need the latest gtkmm for development. However for gtkmm-git I needed gtk-git, for which I needed glib-git and pango-git. I successfully (at least it appears so) managed to install glib-git and pango-git, but now I get a linker error with gtk-git and will not spend another day looking for its source. I will just wait until gtkmm-3.1 is released.
    EDIT 2: Alright, it appears there must have been something wrong with my "successfull" installs as well, as I just started a gtk app (Balsa) and it did not have any font, just rectangles for letters. Replacing glib-git and pango-git with their stable counterparts turned everything right again.
    Last edited by Franek (2011-08-23 20:46:47)

  • [SOLVED] git PKGBUILD (sinit) almost there, package() fails

    So, I'm trying to make my first PKGBUILD for sinit.
    Here's what I have so far:
    # Maintainer: Cem Aydin (rebootl) <cem.aydin gmx.ch>
    _gitname=sinit
    pkgname=${_gitname}-git
    pkgver=0.7.r1.g3a953ea
    pkgrel=1
    pkgdesc="sinit - suckless init (patched for a custom minirc)"
    arch=('i686' 'x86_64')
    url="http://git.2f30.org/sinit/"
    license=('MIT')
    depends=('')
    makedepends=('git')
    conflicts=('')
    provides=('sinit')
    source=('git://git.2f30.org/sinit'
    'call-minirc-sinit.patch')
    md5sums=('SKIP'
    'ad798476614abd1e78f372e60fcc779e')
    pkgver() {
    cd "${_gitname}"
    # Using most recent unannotated tag, removing prefix v
    git describe --long --tags | sed -r 's/^v//;s/([^-]*-g)/r\1/;s/-/./g'
    prepare() {
    cd "${_gitname}"
    patch -uN config.def.h ../call-minirc-sinit.patch || return 1
    build() {
    cd "${_gitname}"
    make
    package() {
    cd "${_gitname}"
    make PREFIX=/usr DESTDIR="${pkgdir}" install
    It works up to package() where it fails:
    makepkg
    ==> Making package: sinit-git 0.7.r1.g3a953ea-1 (Mon Feb 24 14:53:12 CET 2014)
    ==> Checking runtime dependencies...
    ==> Checking buildtime dependencies...
    ==> Retrieving sources...
    -> Updating sinit git repo...
    Fetching origin
    -> Found call-minirc-sinit.patch
    ==> Validating source files with md5sums...
    sinit ... Skipped
    call-minirc-sinit.patch ... Passed
    ==> Extracting sources...
    -> Creating working copy of sinit git repo...
    Cloning into 'sinit'...
    done.
    ==> Starting pkgver()...
    ==> Starting prepare()...
    patching file config.def.h
    ==> Removing existing pkg/ directory...
    ==> Starting build()...
    sinit build options:
    CFLAGS = -Wextra -Werror -Wall -Os
    LDFLAGS = -static
    CC = cc
    creating config.h from config.def.h
    CC util/eprintf.c
    AR util.a
    make bin
    make[1]: Entering directory '/home/cem/Setups_hplaptop/sinit-git/src/sinit'
    CC sinit.c
    LD sinit
    make[1]: Leaving directory '/home/cem/Setups_hplaptop/sinit-git/src/sinit'
    ==> Entering fakeroot environment...
    ==> Starting package()...
    sinit build options:
    CFLAGS = -Wextra -Werror -Wall -Os
    LDFLAGS = -static
    CC = cc
    make bin
    make[1]: Entering directory '/home/cem/Setups_hplaptop/sinit-git/src/sinit'
    make[1]: Nothing to be done for 'bin'.
    make[1]: Leaving directory '/home/cem/Setups_hplaptop/sinit-git/src/sinit'
    installing executable to /home/cem/Setups_hplaptop/sinit-git/pkg/sinit-git/usr/bin
    cp: cannot create regular file ‘/home/cem/Setups_hplaptop/sinit-git/pkg/sinit-git/usr/bin’: No such file or directory
    Makefile:47: recipe for target 'install' failed
    make: *** [install] Error 1
    ==> ERROR: A failure occurred in package().
    Aborting...
    I can see that it's missing the directory usr/bin under pkg/sinit-git/.. but I don't understand why.
    I also tried to replace all the cd "${_gitname}" by cd "$srcdir/$_gitname" but I get the same error...
    I can't see the difference to e.g. following reference:
    https://aur.archlinux.org/packages/al/a … t/PKGBUILD
    Last edited by rebootl (2014-02-24 19:01:39)

    Hey, thanks a lot for your replies. Ah, that explains it, didn't look at the Makefile, don't know how this works honestly...
    @Scimmia: Your workaround works!
    @WorMzy: I'll do so.
    Regards

  • [SOLVED] Quarkcoin-qt, PKGBUILD created

    Hi,
    I have just created the PKGBUILD, .install, and .desktop files for Quarkcoin-qt. I modified the PKGBUILD for Litecoin and adapted it for Quark.
    It worked for me.
    If someone with the permissions want to upload it to the AUR, Here is the code:
    PKGBUILD:
    pkgname='quarkcoin-qt'
    pkgver=0.8.3
    pkgrel=2
    arch=('x86_64')
    url="http://www.qrk.cc/"
    makedepends=('boost' 'automoc4' 'qrencode' 'miniupnpc')
    license=('MIT')
    pkgdesc="Peer-to-peer network based digital currency (QT)"
    depends=(boost-libs qt4 miniupnpc qrencode)
    conflicts=(quarkcoin)
    install=quarkcoin-qt.install
    source=("https://github.com/MaxGuevara/quark/archive/master.zip")
    sha256sums=('8463507c854025d03b9cfcff076c5756a3e9b1bee12fb0dc4bd065176285cd4e')
    build() {
    cd "$srcdir/quark-master"
    # and make qt gui
    qmake-qt4 USE_QRCODE=1 USE_UPNP=1
    make
    package() {
    cd "../"
    install -Dm644 quarkcoin-qt.desktop "$pkgdir"/usr/share/applications/quarkcoin.desktop
    cd "$srcdir/quark-master"
    install -Dm755 quarkcoin-qt "$pkgdir"/usr/bin/quarkcoin-qt
    install -Dm644 share/pixmaps/bitcoin128.png "$pkgdir"/usr/share/pixmaps/quarkcoin128.png
    install -Dm644 COPYING "$pkgdir/usr/share/licenses/$pkgname/COPYING"
    quarkcoin-qt.install:
    post_install() {
    update-desktop-database -q
    post_upgrade() {
    post_install $1
    post_remove() {
    post_install $1
    quarkcoin-qt.desktop:
    [Desktop Entry]
    Encoding=UTF-8
    Name=Quarkcoin
    Comment=Quarkcoin P2P Cryptocurrency
    Comment[fr]=Quarkcoin, monnaie virtuelle cryptographique pair à pair
    Comment[tr]=Quarkcoin, eşten eşe kriptografik sanal para birimi
    Exec=/usr/bin/quarkcoin-qt
    Terminal=false
    Type=Application
    Icon=/usr/share/pixmaps/quarkcoin128.png
    MimeType=x-scheme-handler/quarkcoin;
    Categories=Office;
    Last edited by iop (2013-12-13 06:00:27)

    All you have to do is make an AUR account and you can upload it.
    BUT please don't in it's current form. You're pulling a tarball of git master, so the pkgname should be suffixed with -git. Plus the checksum will change constantly, so you would need to change that to SKIP and have no checking at all. Really, you need to either do a git clone which does it's own checksumming (see VCS PKGBUILD Guidelines in the Wiki) or pull a tarball of a specific tag. If you need help with a pkgver function that makes sense, let us know.

  • [SOLVED] libgcrypt-git

    Hello,
    I'm maintaining gnupg-git AUR package. A nice beta of gnupg development branch has just arrived today that brings experimental support for Ed25519 ECC for signature. However for encryption support a patched libgcrypt is required. I tried to put together a PKGBUILD to build libgcrypt based upon the git version but it fails towards the end on the doc section.
    Would someone be kind enough to try to fix it?
    # $Id$
    # Maintainer: Andreas Radke <[email protected]>
    _gitname=libgcrypt
    pkgname=libgcrypt-git
    pkgver=1.6.0+83+gf14fb5b
    pkgrel=1
    pkgdesc="General purpose cryptographic library based on the code from GnuPG"
    arch=(i686 x86_64)
    url="http://www.gnupg.org"
    license=('LGPL')
    depends=('libgpg-error>=1.10-2')
    makedepends=('git' 'automake-1.11')
    provides=("libgcrypt=${pkgver}")
    conflicts=('libgcrypt')
    install=${pkgname}.install
    source=("git://git.gnupg.org/libgcrypt.git")
    sha1sums=('SKIP')
    pkgver() {
    cd "$_gitname"
    git describe --tags | sed 's/libgcrypt-//;s/-/+/g'
    build() {
    cd "$_gitname"
    AUTOMAKE_SUFFIX="-1.11" ./autogen.sh --force
    ./configure --prefix=/usr \
    --disable-static \
    --disable-padlock-support
    make
    package() {
    cd "$_gitname"
    make DESTDIR=${pkgdir} install
    Here is the error message I am getting:
    make[2]: Leaving directory '/home/alpha/PERSO/GIT-REPOS/arch-packages/NOTDONEYET/libgcrypt-git/src/libgcrypt/src'
    Making all in doc
    make[2]: Entering directory '/home/alpha/PERSO/GIT-REPOS/arch-packages/NOTDONEYET/libgcrypt-git/src/libgcrypt/doc'
    fig2dev -L eps `test -f 'libgcrypt-modules.fig' || echo './'`libgcrypt-modules.fig libgcrypt-modules.eps
    fig2dev -L eps `test -f 'fips-fsm.fig' || echo './'`fips-fsm.fig fips-fsm.eps
    fig2dev -L png `test -f 'libgcrypt-modules.fig' || echo './'`libgcrypt-modules.fig libgcrypt-modules.png
    fig2dev -L png `test -f 'fips-fsm.fig' || echo './'`fips-fsm.fig fips-fsm.png
    fig2dev -L pdf `test -f 'libgcrypt-modules.fig' || echo './'`libgcrypt-modules.fig libgcrypt-modules.pdf
    fig2dev -L pdf `test -f 'fips-fsm.fig' || echo './'`fips-fsm.fig fips-fsm.pdf
    make all-am
    make[3]: Entering directory '/home/alpha/PERSO/GIT-REPOS/arch-packages/NOTDONEYET/libgcrypt-git/src/libgcrypt/doc'
    restore=: && backupdir=".am$$" && \
    am__cwd=`pwd` && CDPATH="${ZSH_VERSION+.}:" && cd . && \
    rm -rf $backupdir && mkdir $backupdir && \
    if (/bin/sh /home/alpha/PERSO/GIT-REPOS/arch-packages/NOTDONEYET/libgcrypt-git/src/libgcrypt/build-aux/missing --run makeinfo --version) >/dev/null 2>&1; then \
    for f in gcrypt.info gcrypt.info-[0-9] gcrypt.info-[0-9][0-9] gcrypt.i[0-9] gcrypt.i[0-9][0-9]; do \
    if test -f $f; then mv $f $backupdir; restore=mv; else :; fi; \
    done; \
    else :; fi && \
    cd "$am__cwd"; \
    if /bin/sh /home/alpha/PERSO/GIT-REPOS/arch-packages/NOTDONEYET/libgcrypt-git/src/libgcrypt/build-aux/missing --run makeinfo -I . \
    -o gcrypt.info gcrypt.texi; \
    then \
    rc=0; \
    CDPATH="${ZSH_VERSION+.}:" && cd .; \
    else \
    rc=$?; \
    CDPATH="${ZSH_VERSION+.}:" && cd . && \
    $restore $backupdir/* `echo "./gcrypt.info" | sed 's|[^/]*$||'`; \
    fi; \
    rm -rf $backupdir; exit $rc
    gcrypt.texi:4: @include: could not find version.texi
    gcrypt.texi:12: warning: undefined flag: VERSION
    gcrypt.texi:12: warning: undefined flag: UPDATED
    gcrypt.texi:58: warning: undefined flag: VERSION
    gcrypt.texi:59: warning: undefined flag: UPDATED
    Makefile:370: recipe for target 'gcrypt.info' failed
    make[3]: *** [gcrypt.info] Error 1
    make[3]: Leaving directory '/home/alpha/PERSO/GIT-REPOS/arch-packages/NOTDONEYET/libgcrypt-git/src/libgcrypt/doc'
    Makefile:328: recipe for target 'all' failed
    make[2]: *** [all] Error 2
    make[2]: Leaving directory '/home/alpha/PERSO/GIT-REPOS/arch-packages/NOTDONEYET/libgcrypt-git/src/libgcrypt/doc'
    Makefile:411: recipe for target 'all-recursive' failed
    make[1]: *** [all-recursive] Error 1
    make[1]: Leaving directory '/home/alpha/PERSO/GIT-REPOS/arch-packages/NOTDONEYET/libgcrypt-git/src/libgcrypt'
    Makefile:342: recipe for target 'all' failed
    make: *** [all] Error 2
    ==> ERROR: A failure occurred in build().
    Aborting...
    Thanks
    alphazo
    Last edited by alphazo (2014-06-07 19:32:10)

    Please let me know if the following works for you. You can verify the changes with a diff. Here's a summary of what I did:
    1) pkgver=1.7
    This is because although the git describe says we're 1.6.something, the output from the ./configure says it's actually 1.7. This matters, in my opinion.
    2) Removed pkgver() for reason mentioned above
    3) depends=('libgpg-error>=1.13-1')
    When I compiled, outside of the Arch Build System, I had trouble with compiling libgcrypt without having a high enough version of libgpg-error. You may find that this is not needed, and that requirement can be relaxed at your discretion.
    4) Configure invocation: --enable-maintainer-mode --with-capabilities
    We're Arch, so we're definitely Linux, so configure with Linux capabilities. I have no idea what this means, but why not enable it, right? Enabling maintainer mode is apparently required to get the doc portion to build correctly. Not sure why.
    5) make -j
    Who only has one core anyway?
    5) Added check()
    Since libgcrypt and gnupg 2.1 are still unstable, we should always run the test suite.
    # $Id$
    # Maintainer: Andreas Radke <[email protected]>
    # Contributor: Adrian Cohea <[email protected]>
    _gitname=libgcrypt
    pkgname=libgcrypt-git
    pkgver=1.7
    pkgrel=1
    pkgdesc="General purpose cryptographic library based on the code from GnuPG"
    arch=(i686 x86_64)
    url="http://www.gnupg.org"
    license=('LGPL')
    depends=('libgpg-error>=1.13-1')
    makedepends=('git' 'automake-1.11')
    provides=("libgcrypt=${pkgver}")
    conflicts=('libgcrypt')
    install=${pkgname}.install
    source=("git://git.gnupg.org/libgcrypt.git")
    sha1sums=('SKIP')
    build() {
    cd "$_gitname"
    AUTOMAKE_SUFFIX="-1.11" ./autogen.sh --force
    ./configure --prefix=/usr --enable-maintainer-mode --with-capabilities --disable-static --disable-padlock-support
    make -j
    check() {
    cd "$_gitname"
    make check
    package() {
    cd "$_gitname"
    make DESTDIR=${pkgdir} install

  • [SOLVED] [kernel26zen-git] Unable to build kernel

    Hi!
    I am unable to sucessfully build the kernel26zen-git package.
    I am using the stable version, master branch.
    Error is:
    ==> Building kernel and modules...
    scripts/kconfig/conf -s arch/x86/Kconfig
    CHK include/linux/version.h
    CHK include/generated/utsrelease.h
    CC arch/x86/kernel/asm-offsets.s - due to target missing
    In file included from include/linux/module.h:18:0,
    from include/linux/crypto.h:21,
    from arch/x86/kernel/asm-offsets_64.c:8,
    from arch/x86/kernel/asm-offsets.c:4:
    include/linux/tracepoint.h: In function 'tracepoint_synchronize_unregister':
    include/linux/tracepoint.h:80:2: error: implicit declaration of function 'synchronize_sched'
    make[1]: *** [arch/x86/kernel/asm-offsets.s] Error 1
    make: *** [prepare0] Error 2
    ==> ERROR: Failed... Your source tree might be broken. Run 'make mrproper' in src/kernel26zen-stable to clean it up
    Aborting...
    I already tried the "make mrproper", building it without any modifications to "config" and googleing for the problem.
    Anyone got a clue?
    EDIT: Okay, I was searching with the wrong keywords. I searched for
    include/linux/tracepoint.h:80:2: error: implicit declaration of function 'synchronize_sched'
    and found this thread.
    Going to try this out.
    EDIT 2: What can I say? It worked.
    EDIT 3: Another Thread with the solution
    PS: What about this "RCU"? What does it do and why does the "classic RCU" not work?
    Last edited by akurei (2010-10-05 19:39:30)

    ChoK wrote:It seems like you need lib32-jack and the maintainer of lib32-portaudio forgot to add it to makedepends/depends
    Iv'e got lib32-jack already installed. And by reading the comments of the AUR link to the package ( lib32-portaudio ) they supposedly fixed the PKGBUILD too.

  • [Solved] Avidemux-git fails to compile

    I looked for a fresh update to the latest avidemux compilation. I got this while attempting to make the package:
    [ 80%] Building CXX object ADM_coreVideoCodec/ADM_hwAccel/ADM_coreLibVA/src/CMakeFiles/ADM_coreLibVA6.dir/ADM_coreLibVA.cpp.o
    /tmp/yaourt-tmp-myself/aur-avidemux-2.6-git/src/avidemux/avidemux_core/ADM_coreVideoCodec/ADM_hwAccel/ADM_coreLibVA/src/ADM_coreLibVA.cpp: In static member function ‘static VASurfaceID admLibVA::allocateSurface(int, int)’:
    /tmp/yaourt-tmp-myself/aur-avidemux-2.6-git/src/avidemux/avidemux_core/ADM_coreVideoCodec/ADM_hwAccel/ADM_coreLibVA/src/ADM_coreLibVA.cpp:365:89: error: invalid conversion from ‘int’ to ‘VASurfaceID* {aka unsigned int*}’ [-fpermissive]
    CHECK_ERROR(vaCreateSurfaces(ADM_coreLibVA::display,w,h,VA_RT_FORMAT_YUV420,1,&s));
    ^
    /tmp/yaourt-tmp-myself/aur-avidemux-2.6-git/src/avidemux/avidemux_core/ADM_coreVideoCodec/ADM_hwAccel/ADM_coreLibVA/src/ADM_coreLibVA.cpp:57:32: note: in definition of macro ‘CHECK_ERROR’
    #define CHECK_ERROR(x) {xError=x;displayXError(#x,ADM_coreLibVA::display,xError);}
    ^
    /tmp/yaourt-tmp-myself/aur-avidemux-2.6-git/src/avidemux/avidemux_core/ADM_coreVideoCodec/ADM_hwAccel/ADM_coreLibVA/src/ADM_coreLibVA.cpp:365:89: error: invalid conversion from ‘VASurfaceID* {aka unsigned int*}’ to ‘unsigned int’ [-fpermissive]
    CHECK_ERROR(vaCreateSurfaces(ADM_coreLibVA::display,w,h,VA_RT_FORMAT_YUV420,1,&s));
    ^
    /tmp/yaourt-tmp-myself/aur-avidemux-2.6-git/src/avidemux/avidemux_core/ADM_coreVideoCodec/ADM_hwAccel/ADM_coreLibVA/src/ADM_coreLibVA.cpp:57:32: note: in definition of macro ‘CHECK_ERROR’
    #define CHECK_ERROR(x) {xError=x;displayXError(#x,ADM_coreLibVA::display,xError);}
    ^
    /tmp/yaourt-tmp-myself/aur-avidemux-2.6-git/src/avidemux/avidemux_core/ADM_coreVideoCodec/ADM_hwAccel/ADM_coreLibVA/src/ADM_coreLibVA.cpp:365:89: error: too few arguments to function ‘VAStatus vaCreateSurfaces(VADisplay, unsigned int, unsigned int, unsigned int, VASurfaceID*, unsigned int, VASurfaceAttrib*, unsigned int)’
    CHECK_ERROR(vaCreateSurfaces(ADM_coreLibVA::display,w,h,VA_RT_FORMAT_YUV420,1,&s));
    ^
    /tmp/yaourt-tmp-myself/aur-avidemux-2.6-git/src/avidemux/avidemux_core/ADM_coreVideoCodec/ADM_hwAccel/ADM_coreLibVA/src/ADM_coreLibVA.cpp:57:32: note: in definition of macro ‘CHECK_ERROR’
    #define CHECK_ERROR(x) {xError=x;displayXError(#x,ADM_coreLibVA::display,xError);}
    ^
    In file included from /tmp/yaourt-tmp-myself/aur-avidemux-2.6-git/src/avidemux/avidemux_core/ADM_coreVideoCodec/ADM_hwAccel/ADM_coreLibVA/src/../include/ADM_coreLibVA.h:28:0,
    from /tmp/yaourt-tmp-myself/aur-avidemux-2.6-git/src/avidemux/avidemux_core/ADM_coreVideoCodec/ADM_hwAccel/ADM_coreLibVA/src/ADM_coreLibVA.cpp:17:
    /usr/include/va/va.h:792:1: note: declared here
    vaCreateSurfaces(
    ^
    make[2]: *** [ADM_coreVideoCodec/ADM_hwAccel/ADM_coreLibVA/src/CMakeFiles/ADM_coreLibVA6.dir/ADM_coreLibVA.cpp.o] Errore 1
    make[1]: *** [ADM_coreVideoCodec/ADM_hwAccel/ADM_coreLibVA/src/CMakeFiles/ADM_coreLibVA6.dir/all] Errore 2
    make: *** [all] Errore 2
    I'll point this at avidemux forum, in case isn't caused by package making.
    Last edited by TheSaint (2013-08-28 13:22:44)

    I'ved the same error.
    I resolved it for the r3392 version :
    I said N for recompilation
    in the file /tmp/yaourt-tmp-$USER/aur-avidemux-2.6-git/src/avidemux/avidemux_core/ADM_coreVideoCodec/ADM_hwAccel/ADM_coreLibVA/src/ADM_coreLibVA.cpp
       i replaced
    CHECK_ERROR(vaCreateSurfaces(ADM_coreLibVA::display,w,h,VA_RT_FORMAT_YUV420,1,&s));
      by
    VASurfaceAttrib attrib_list;
    unsigned int num_attribs;
    CHECK_ERROR(vaCreateSurfaces(ADM_coreLibVA::display,VA_RT_FORMAT_YUV420,w,h,&s,1,&attrib_list,num_attribs));
    in the file /tmp/yaourt-tmp-christophe/aur-avidemux-2.6-git/src/avidemux/avidemux_plugins/ADM_videoEncoder/libva/ADM_libvaEncoder.cpp
       i replaced
    if(!vaSurface.fromAdmImage(image))
      by
    if(!vaSurface->fromAdmImage(image))
    then i typed :
    makepkg -e && makepkg -i
    That's it!
    Enjoy !!! 
    Last edited by japama (2013-08-06 09:58:07)

  • [SOLVED] makepkg git clone fails (firewalled), how to use https

    At my new employer git(hub) traffic has been blocked so I am unable to clone a repo with "git clone git://someurl/..." but I can clone via https "git clone https://someurl/..."
    However, makepkg uses the former and fails with the following error:
    Cloning into bare repository '/tmp/cower-git/cower' ...
    fatal: unable to connect to github.com:
    github.com[0: 192.30.252.130]: errno=Connection refused
    Can I configure makepkg to use https cloning?  I can edit makepkg itself, but this seems far from ideal.
    For the time being, I just cd'ed into 'src' and manually cloned via https, then backed out and used 'makepkg -ei'.  So I now have cower up and running, but this is a bit tedius to do for all git packages.

    Change it how?  I tried changing it to "https://github..." but then makepkg didn't treat it as a git repo and just downloaded the webpage.
    EDIT: nevermind, I'm an idiot:
    source=("git+https://github/...")
    I know I had done this before, but I wasn't finding it when I needed it.  Thanks.
      - Trilby: Moderator and Noob!

  • [solved] new abs PKGBUILD for package kernel26...old kernel?

    I was looking into the new PKGBUILD in the /var/abs/core/kernel26 folder, as I wanted to update my custom kernel. I was editing the new PKGBUILD when I saw something weird...references to kernel.org files and archlinux.org patch seems to be same as the 2.6.37 version. Is _basekernel value not updated? Am I wrong?
    Take a look:
    new PKGBUILD (I copied only relevant lines):
    _basekernel=2.6.37
    pkgver=${_basekernel}
    pkgrel=6
    _patchname="patch-${pkgver}-4-ARCH"
    source=(ftp://ftp.kernel.org/pub/linux/kernel/v2.6/linux-$_basekernel.tar.bz2
    ftp://ftp.archlinux.org/other/kernel26/${_patchname}.bz2
    now...these is exactly the same as PKGBUILD for 2.6.37. But the new files are:
    ftp://ftp.kernel.org/pub/linux/kernel/v2.6/linux-2.6.37.1.tar.bz2
    ftp://ftp.archlinux.org/other/kernel26/patch-2.6.37.1-1-ARCH.bz2
    If I am right, someone has to update variable values...
    TIA
    Gemon
    Last edited by gemon (2011-02-21 22:17:23)

    well...I had time to check so...this is the content for the PKGBUILD after I run abs yesterday (pasted only relevant lines):
    # $Id: PKGBUILD 109724 2011-02-12 08:01:06Z tpowa $
    pkgbase="kernel26"
    pkgname=('kernel26' 'kernel26-headers' 'kernel26-docs') # Build stock -ARCH kernel
    _kernelname=${pkgname#kernel26}
    _basekernel=2.6.37
    pkgver=${_basekernel}
    pkgrel=6
    _patchname="patch-${pkgver}-4-ARCH"
    this is the one I run tonight...looks updated now
    # $Id: PKGBUILD 110322 2011-02-18 20:13:49Z tpowa $
    pkgbase="kernel26"
    pkgname=('kernel26' 'kernel26-headers' 'kernel26-docs') # Build stock -ARCH kernel
    _kernelname=${pkgname#kernel26}
    _basekernel=2.6.37
    pkgver=${_basekernel}.1
    pkgrel=1
    _patchname="patch-${pkgver}-${pkgrel}-ARCH"
    now patch filename and kernel sources correctly resolve to the latest ones.
    but believe me, right after I had the 2.6.37.1-arch kernel, the abs PKGBUILD was outdated...probably it is updated after kernel package is released. doesn't matter
    all in all...now it's ok
    Gemon

  • [SOLVED] Error with PKGBUILD for package hash-identifier

    Hi,
    I tried to install the package hash-identifier.
    While running makepkg -s, there is an error:
    ==> ERROR: PKGBUILD contains CRLF characters and cannot be sourced.
    I guess this is due to the New Line character at line 17 of the PKGBUILD:
    sed -e 's|
    ||g' -i Hash_ID_v${pkgver}.py
    So I remove it, but then I get this other error and I don't know what to do with it:
    ==> Extracting sources...
    ==> Starting prepare()...
    sed: -e expression #1, char 0: no previous regular expression
    ==> ERROR: A failure occurred in prepare().
    Aborting...
    Last edited by PâtéDeCerf (2015-03-11 08:18:34)

    Thanks for your reply. I'm not familiar with package build syntax nor python, so I don't understand everything you wrote.
    It would be good if you could explain more clearly though.
    By applying the change you propose, I was able to build the package and install it.
    NB: To run the program, type from the command-line :
    $ hash-id
    ...and not simply "hash-identifier"
    Last edited by PâtéDeCerf (2015-03-11 08:21:10)

  • [Solved] E17-git: Compilation error of elementary-git

    Dear all;
    When I trying to compile elementary-git, via yaourt, I have the following error
    configure: error: Package requirements (
    eina >= 1.8.99.9289
    eet >= 1.8.99.9289
    evas >= 1.8.99.9289
    ecore >= 1.8.99.9289
    ecore-evas >= 1.8.99.9289
    ecore-file >= 1.8.99.9289
    ecore-input >= 1.8.99.9289
    edje >= 1.8.99.9289
    eo >= 1.8.99.9289
    ethumb_client >= 1.8.99.9289
    emotion >= 1.8.99.9289
    ecore-imf >= 1.8.99.9289
    ecore-con >= 1.8.99.9289
    eio >= 1.8.99.9289
    eldbus >= 1.8.99.9289
    efreet >= 1.8.99.9289
    efreet-mime >= 1.8.99.9289
    efreet-trash >= 1.8.99.9289
    ) were not met:
    Requested 'eina >= 1.8.99.9289' but version of Eina is 1.8.99
    Requested 'eet >= 1.8.99.9289' but version of eet is 1.8.99
    Requested 'evas >= 1.8.99.9289' but version of evas is 1.8.99
    Requested 'ecore >= 1.8.99.9289' but version of ecore is 1.8.99
    Requested 'ecore-evas >= 1.8.99.9289' but version of ecore-evas is 1.8.99
    Requested 'ecore-file >= 1.8.99.9289' but version of ecore-file is 1.8.99
    Requested 'ecore-input >= 1.8.99.9289' but version of ecore-input is 1.8.99
    Requested 'edje >= 1.8.99.9289' but version of edje is 1.8.99
    Requested 'eo >= 1.8.99.9289' but version of Eo is 1.8.99
    Requested 'ethumb_client >= 1.8.99.9289' but version of ethumb_client is 1.8.99
    Requested 'emotion >= 1.8.99.9289' but version of emotion is 1.8.99
    Requested 'ecore-imf >= 1.8.99.9289' but version of ecore-imf is 1.8.99
    Requested 'ecore-con >= 1.8.99.9289' but version of ecore-con is 1.8.99
    Requested 'eio >= 1.8.99.9289' but version of eio is 1.8.99
    Requested 'eldbus >= 1.8.99.9289' but version of eldbus is 1.8.99
    Requested 'efreet >= 1.8.99.9289' but version of efreet is 1.8.99
    Requested 'efreet-mime >= 1.8.99.9289' but version of efreet-mime is 1.8.99
    Requested 'efreet-trash >= 1.8.99.9289' but version of efreet-trash is 1.8.99
    So I check the version of efl-git and I had a kind of strange things :
    aur/efl-git 1.8.99.24257.6db1691-1 [installed: 1.8.99.24285.cc8fa1d-1] (73)
    Any idea???
    Last edited by barbsbou (2014-01-31 17:21:09)

    Rebuild EFL. They forgot to re-enable v_rev for a while there after the release.

Maybe you are looking for

  • Calculating the AVG's from exported stream data

    Written a program which exports string of time, timing data: 0:11 0:91 0:23 1:20 it then writes the string to a textfile but as theres multiple rows as below this is what the data looks like when its written to a text file - how can I define columns?

  • P.o date

    R/All i want to confighure a check between MKPF_ BUDAT with reference to EKKO_BEDAT it will check, and does not allow for MIGO if Posting date is greater than MIGO posting Date right now it is allowing me post MIGO if P.O date is greater than posting

  • [SOLVED] Mounting a logical partition

    Scenario: /dev/sda1 primary NTFS windows boot /dev/sda2 primary NTFS windows home /dev/sda3 primary ext4 arch /boot /dev/sda5 primary ext4 arch / /dev/sda6 logical ext4 arch /home /dev/sda7 arch swap Do I perform mount /dev/sda6 /mnt/home as if it we

  • Flash Builder 4.5 and Cold Fusion Builder 2.0

    I evaluated Flash Builder 4.0 and my company purchased Flash Builder 4.5.  The upgrade to the new version turned into a nightmare.  I had notice Cold Fusion Builder came with my FB4.5 and so I installed it as well.  Once I finally got my projects wor

  • What series is the Miix 2 8?

    This is nuts. My brand new Miix 2 8 will not turn on so I turned to the "Contact us" and selected "Tablets" and ma asked a "Series" from a small list. A K S Thinkpad Yoga I checked the back of the Tablet with a magnifier and nothing like any of those