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
568 B
Bash
20 lines
568 B
Bash
# Template file for 'dust3d'
|
|
pkgname=dust3d
|
|
version=1.0.0b21
|
|
revision=1
|
|
_version="${version/b/-beta.}"
|
|
wrksrc="$pkgname-${_version}"
|
|
build_style=qmake
|
|
hostmakedepends="pkg-config qt5-host-tools qt5-qmake"
|
|
makedepends="qt5-devel cgal-devel"
|
|
short_desc="3D Modeling software"
|
|
maintainer="Andrew Benson <abenson+void@gmail.com>"
|
|
license="MIT"
|
|
homepage="https://dust3d.org/"
|
|
distfiles="https://github.com/huxingyi/dust3d/archive/${_version}.tar.gz"
|
|
checksum=7c29e1153e6b568459ab8a8fadbec3398a43b5d60f295018c3f0cdcad2d2b4b1
|
|
|
|
do_install() {
|
|
vbin dust3d
|
|
vlicense LICENSE
|
|
}
|