Package Details: qooxdoo-sdk 5.0-1

Git Clone URL: https://aur.archlinux.org/qooxdoo-sdk.git (read-only, click to copy)
Package Base: qooxdoo-sdk
Description: Framework for creating rich internet applications.
Upstream URL: http://qooxdoo.org
Licenses: LGPL, EGPL
Provides: qooxdoo
Submitter: None
Maintainer: None
Last Packager: lepokle
Votes: 1
Popularity: 0.000000
First Submitted: 2011-04-15 09:38 (UTC)
Last Updated: 2015-07-22 19:20 (UTC)

Dependencies (1)

Required by (0)

Sources (1)

Latest Comments

lepokle commented on 2013-12-30 09:43 (UTC)

Thank you Peter, I simplified the script as suggested.

peter.slizik commented on 2013-08-20 15:28 (UTC)

Hi, lepokle, I find the build script quite complicated. Here the simplified script I suggest: for file in `find "$srcdir/$pkgname-$pkgver-sdk" -name '*.py'`; do sed -i '1s|^#!/usr/bin/env[ \t]\+python\b|#!/usr/bin/env python2|' "$file" done And that's it, only three lines. The find command: - The regex switch is not necessary. Simple "find . -name '*.py'" will do the job. The single quotes around *.py are necessary to prevent the shell from expanding the asterisk (it will be expanded by find instead). The sed command: - The '-i' switch instructs sed to work in-place (without creating additional files). - Number '1' tells sed to operate only on the first line of the file. - You don't have to check if files do start with "#!/usr/bin/env python". If they don't, the file won't be modiefied. This will make your script more terse. - '\b' tells sed to skip files that have already been prepared for python2 (there are no in qooxdoo as far as I know, but it does not harm). Regards, Peter

spider-mario commented on 2011-11-13 14:57 (UTC)

Here is an alternative PKGBUILD: http://paste.pocoo.org/show/TUpXhDt0EQ3AH1ZSmwe8/

spider-mario commented on 2011-11-13 14:52 (UTC)

As this package does not contain any ELF file, its building could be speeded up by adding “!strip” to its PKGBUILD options.