void-packages/srcpkgs/silly/template
Đoàn Trần Công Danh a92d370caa srcpkgs: add patch_args=-Np0 en-mass
Generated with:

	git ls-files 'srcpkgs/**/patches/*' |
	cut -d/ -f2 | uniq |
	xargs printf 'srcpkgs/%s/template\n'  |
	xargs grep -L 'patch_args=' |
	xargs sed -i "$(printf '1,/^$/{/^$/i\\\npatch_args=-Np0\n}\n')"
2021-06-20 13:17:29 +07:00

29 lines
809 B
Bash

# Template file for 'silly'
pkgname=silly
version=0.1.0
revision=2
wrksrc=${pkgname^^}-${version}
build_style=gnu-configure
hostmakedepends="pkg-config"
makedepends="libjpeg-turbo-devel libpng-devel"
short_desc="Simple image loading library"
maintainer="Orphaned <orphan@voidlinux.org>"
license="MIT"
homepage="http://sourceforge.net/projects/crayzedsgui/"
distfiles="${SOURCEFORGE_SITE}/project/crayzedsgui/${pkgname^^}/${version}/${pkgname^^}-${version}.tar.gz"
checksum=afa064f70433008ec9837fb601c8d73e73db07856e4566f8bee010758c5304ac
patch_args=-Np0
post_install() {
vlicense COPYING
}
silly-devel_package() {
depends="${sourcepkg}>=${version}_${revision}"
short_desc+=" - development files"
pkg_install() {
vmove usr/include
vmove usr/lib/pkgconfig
vmove usr/lib/*.a
vmove usr/lib/*.so
}
}