b6bcd8cd34
* daemontools and dmraid is kept at -Np0 ```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 ```
20 lines
755 B
Bash
20 lines
755 B
Bash
# Template file for 'dunelegacy'
|
|
pkgname=dunelegacy
|
|
version=0.96.4
|
|
revision=3
|
|
build_style=gnu-configure
|
|
configure_args="--disable-sdltest"
|
|
makedepends="SDL2_mixer-devel"
|
|
checkdepends="libcppunit-devel"
|
|
short_desc="Modern Dune II reimplementation"
|
|
maintainer="beefcurtains <beefcurtains@voidlinux.org>"
|
|
license="GPL-2.0-or-later"
|
|
homepage="http://dunelegacy.sourceforge.net/"
|
|
distfiles="${SOURCEFORGE_SITE}/${pkgname}/${pkgname}/${version}/${pkgname}-${version}-src.tar.bz2"
|
|
checksum=4740df9e94712b34f5d6fa1ca3c24658c4808b40431aa156ed66c318be9f4de8
|
|
|
|
post_install() {
|
|
vinstall dunelegacy.desktop 644 usr/share/applications
|
|
vinstall dunelegacy.png 644 usr/share/icons/hicolor/48x48/apps
|
|
vinstall dunelegacy.svg 644 usr/share/icons/hicolor/scalable/apps
|
|
}
|