635e9da391
* par 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 ```
27 lines
830 B
Bash
27 lines
830 B
Bash
# Template file for 'qt5pas'
|
|
pkgname=qt5pas
|
|
version=2.6~beta
|
|
revision=2
|
|
wrksrc=cbindings
|
|
build_style=qmake
|
|
hostmakedepends="qt5-qmake qt5-host-tools"
|
|
makedepends="qt5-devel qt5-x11extras-devel"
|
|
short_desc="Qt5 interface bindings for Pascal"
|
|
maintainer="Orphaned <orphan@voidlinux.org>"
|
|
license="LGPL-3.0-or-later"
|
|
homepage="https://svn.freepascal.org/svn/lazarus/trunk/lcl/interfaces/qt5/cbindings"
|
|
distfiles="${DEBIAN_SITE}/main/libq/libqtpas/libqtpas_${version}.orig.tar.xz"
|
|
checksum=fcc5f695d60d5f72bf501b2fa779e8a1a2636c8d991270b5b3fef3d0e990365c
|
|
|
|
post_install() {
|
|
vinstall qt5.pas 0644 usr/share/pascal/qt5
|
|
}
|
|
|
|
qt5pas-devel_package() {
|
|
depends="qt5pas-${version}_${revision} qt5-devel qt5-x11extras-devel"
|
|
short_desc+=" - development files"
|
|
pkg_install() {
|
|
vmove "usr/lib/*.so"
|
|
vmove "usr/share/pascal/qt5/*.pas"
|
|
}
|
|
}
|