49cb564d14
* 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
861 B
Bash
27 lines
861 B
Bash
# Template file for 'pgadmin3'
|
|
pkgname=pgadmin3
|
|
version=1.22.2
|
|
revision=14
|
|
build_style=gnu-configure
|
|
configure_args="ac_cv_path_WX_CONFIG=wx-config-gtk3 --with-wx-version=3.0"
|
|
hostmakedepends="automake libtool"
|
|
makedepends="postgresql-libs-devel wxWidgets-gtk3-devel libxslt-devel libssh2-devel"
|
|
short_desc="Comprehensive design and management interface for PostgreSQL"
|
|
maintainer="Gerardo Di Iorio <arete74@gmail.com>"
|
|
license="0BSD"
|
|
homepage="http://www.pgadmin.org"
|
|
distfiles="https://ftp.postgresql.org/pub/pgadmin/pgadmin3/v${version}/src/pgadmin3-${version}.tar.gz"
|
|
checksum=9b68b0e3d3f0a261344fb8196825967d1e7acaca1d8cc82c42e12368ca5844ac
|
|
nocross=yes
|
|
|
|
CXXFLAGS="-Wno-narrowing"
|
|
|
|
pre_configure() {
|
|
autoreconf -fi
|
|
sed -i 's/wxrc/&-3.0/' pgadmin/ui/embed-xrc
|
|
sed -i 's,${WX_HOME}/bin/wx-config,&-gtk3,g' configure
|
|
}
|
|
post_install() {
|
|
vlicense LICENSE
|
|
}
|
|
|