J'ai essayé d'installer clipgrab avec makepkg. Première chose la version prévue dans le pkgbuild (aur) n'est plus la bonne : encore assez facile pour moi, je rectifie. Après ça se corse, un "cd src" où il manque '$', puis après... j'ai besoin d'aide, parce que je ne sais pas.
Cela produit:
Code : Tout sélectionner
$ makepkg -f
==> Création du paquet clipgrab 3.0-1 i686 (mer. oct. 28 00:30:45 CET 2009)
==> Vérification des dépendances...
==> Vérification des dépendances pour la compilation...
==> Récupération des sources...
-> clipgrab-3.0.1.tar.bz2 trouvé dans le répertoire de compilation
-> clipgrab.png trouvé dans le répertoire de compilation
-> clipgrab.desktop trouvé dans le répertoire de compilation
==> Validation des fichiers sources avec md5sums...
clipgrab-3.0.1.tar.bz2 ... Réussite
clipgrab.png ... Réussite
clipgrab.desktop ... Réussite
==> Extraction des sources...
-> Extraction de clipgrab-3.0.1.tar.bz2 avec bsdtar
==> Suppression du répertoire pkg/ existant...
==> Entre dans l'environnement fakeroot...
==> Début de la compilation...
Usage: qmake [mode] [options] [files]
QMake has two modes, one mode for generating project files based on
some heuristics, and the other for generating makefiles. Normally you
shouldn't need to specify a mode, as makefile generation is the default
mode for qmake, but you may use this to test qmake on an existing project
Mode:
-project Put qmake into project file generation mode
In this mode qmake interprets files as files to
be built,
defaults to *.c; *.ui; *.y; *.l; *.ts; *.xlf; *.qrc; *.h; *.hpp; *.hh; *.hxx; *.H; *.cpp; *.cc; *.cxx; *.C
-makefile Put qmake into makefile generation mode (default)
In this mode qmake interprets files as project files to
be processed, if skipped qmake will try to find a project
file in your current working directory
Warnings Options:
-Wnone Turn off all warnings
-Wall Turn on all warnings
-Wparser Turn on parser warnings
-Wlogic Turn on logic warnings
Options:
* You can place any variable assignment in options and it will be *
* processed as if it was in [files]. These assignments will be parsed *
* before [files]. *
-o file Write output to file
-unix Run in unix mode
-win32 Run in win32 mode
-macx Run in Mac OS X mode
-d Increase debug level
-t templ Overrides TEMPLATE as templ
-tp prefix Overrides TEMPLATE so that prefix is prefixed into the value
-help This help
-v Version information
-after All variable assignments after this will be
parsed after [files]
-norecursive Don't do a recursive search
-recursive Do a recursive search
-set <prop> <value> Set persistent property
-query <prop> Query persistent property. Show all if <prop> is empty.
-cache file Use file as cache [makefile mode only]
-spec spec Use spec as QMAKESPEC [makefile mode only]
-nocache Don't use a cache file [makefile mode only]
-nodepend Don't generate dependencies [makefile mode only]
-nomoc Don't generate moc targets [makefile mode only]
-nopwd Don't look for files in pwd [project mode only]
==> ERREUR: La compilation a échoué.
Abandon...
$
Code : Tout sélectionner
# Contributor: thacrazze <thacrazze|googlemail|com>
pkgname=clipgrab
pkgver=3.0
pkgrel=1
pkgdesc='A video downloader and converter for YouTube, Veoh, DailyMotion, MyVideo, ...'
arch=('i686' 'x86_64')
url='http://clipgrab.de/'
license=('GPL')
depends=('ffmpeg' 'qt' 'xdg-utils')
source=(http://clipgrab.de/download/${pkgname}-3.0.1.tar.bz2 ${pkgname}.png ${pkgname}.desktop)
build() {
cd $src
qmake && make || return 1
cd ../bin
install -Dm755 ${pkgname} ${startdir}/pkg/usr/bin/${pkgname} || return 1
install -Dm644 ${startdir}/${pkgname}.png ${startdir}/pkg/usr/share/pixmaps/${pkgname}.png || return 1
install -Dm644 ${startdir}/${pkgname}.desktop ${startdir}/pkg/usr/share/applications/${pkgname}.desktop || return 1
}
md5sums=('e8ae3f302c8f8fdacf5654410a3f719a'
'ef030502ae0922e632742f47283313f4'
'9a141791f6952917c441050c3dac81ce')
