be5369a0cb
* fpc 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 ```
25 lines
731 B
Bash
25 lines
731 B
Bash
# Template file for 'frame'
|
|
pkgname=frame
|
|
version=2.5.0
|
|
revision=2
|
|
build_style=gnu-configure
|
|
configure_args="--enable-x11"
|
|
hostmakedepends="pkg-config"
|
|
makedepends="libXi-devel xorg-server-devel"
|
|
short_desc="Touch Frame Library"
|
|
maintainer="Enno Boland <gottox@voidlinux.org>"
|
|
license="LGPL-3.0-only"
|
|
homepage="https://launchpad.net/frame"
|
|
distfiles="https://launchpad.net/${pkgname}/trunk/v${version}/+download/${pkgname}-${version}.tar.gz"
|
|
checksum=cfb9ab52cdccd926f1822a457264d0014c7eb9f4600a72626063dd073b26256f
|
|
|
|
frame-devel_package() {
|
|
depends="frame>=${version}_${revision}"
|
|
short_desc+=" - development files"
|
|
pkg_install() {
|
|
vmove usr/include
|
|
vmove usr/lib/pkgconfig
|
|
vmove "usr/lib/*.a"
|
|
vmove "usr/lib/*.so"
|
|
}
|
|
}
|