65749575ab
```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
949 B
Bash
27 lines
949 B
Bash
# Template file for 'nemiver'
|
|
pkgname=nemiver
|
|
version=0.9.6
|
|
revision=5
|
|
build_style=gnu-configure
|
|
configure_args="--disable-static --enable-gsettings=yes
|
|
--disable-schemas-install --disable-schemas-compile"
|
|
hostmakedepends="pkg-config gdb intltool itstool glib-devel"
|
|
makedepends="boost-devel sqlite-devel libxml2-devel libgtop-devel ghex-devel
|
|
gtksourceviewmm-devel vte3-devel gsettings-desktop-schemas-devel
|
|
libgdlmm-devel"
|
|
depends="gdb gsettings-desktop-schemas"
|
|
short_desc="Graphical front-end for gdb"
|
|
maintainer="Enno Boland <gottox@voidlinux.org>"
|
|
license="GPL-2.0-only"
|
|
homepage="https://wiki.gnome.org/Apps/Nemiver"
|
|
distfiles="https://download.gnome.org/sources/${pkgname}/${version%.*}/${pkgname}-${version}.tar.xz"
|
|
checksum=85ab8cf6c4f83262f441cb0952a6147d075c3c53d0687389a3555e946b694ef2
|
|
lib32disabled=yes
|
|
|
|
pre_configure() {
|
|
cp data/nemiver.appdata.xml data/nemiver.appdata.xml.in
|
|
}
|
|
|
|
post_install() {
|
|
rm -rf ${DESTDIR}/usr/include
|
|
}
|