7fc9190f0e
* gcc is kept at -Np0, because of void-cross ```sh git grep -l '^patch_args=-Np0' "srcpkgs/$1*/template" | while read template; do for p in ${template%/template}/patches/*; do sed -i ' \,^[+-][+-][+-] /dev/null,b /^[*-]\+ [0-9]\+\(,[0-9]\+\)\? [*-]\+$/b s,^[*][*][*] ,&a/, /^--- /{ s,\(^--- \)\(./\)*,\1a/, s,[.][Oo][Rr][Ii][Gg]\([ /]\),\1, s/[.][Oo][Rr][Ii][Gg]$// s/[.]patched[.]\([^.]\)/.\1/ h } /^+++ -/{ g s/^--- a/+++ b/ b } s,\(^+++ \)\(./\)*,\1b/, ' "$p" done sed -i '/^patch_args=/d' $template done ```
14 lines
543 B
Bash
14 lines
543 B
Bash
# Template file for 'gltron'
|
|
pkgname=gltron
|
|
version=0.70
|
|
revision=2
|
|
build_style=gnu-configure
|
|
configure_args="--enable-warn=off"
|
|
makedepends="glu-devel SDL_sound-devel smpeg-devel libpng-devel libogg-devel
|
|
libmikmod-devel libvorbis-devel"
|
|
short_desc="3d tron, just like the movie"
|
|
maintainer="Marco Bertoni <marco.bertoni.bologna@gmail.com>"
|
|
license="GPL-2.0-only"
|
|
homepage="http://gltron.org/"
|
|
distfiles="${SOURCEFORGE_SITE}/gltron/gltron-${version}-source.tar.gz"
|
|
checksum="e0c8ebb41a18a1f8d7302a9c2cb466f5b1dd63e9a9966c769075e6b6bdad8bb0"
|