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')"
37 lines
786 B
Bash
37 lines
786 B
Bash
# Template file for 'eb'
|
|
pkgname=eb
|
|
version=4.4.3
|
|
revision=3
|
|
build_style=gnu-configure
|
|
hostmakedepends="perl"
|
|
makedepends="zlib-devel"
|
|
short_desc="C library and tools for accessing CD-ROM books"
|
|
maintainer="John <me@johnnynator.dev>"
|
|
license="BSD-3-Clause"
|
|
homepage="https://github.com/2ion/eb"
|
|
distfiles="https://github.com/2ion/eb/archive/${version}.tar.gz"
|
|
checksum=16274f4d5ec34cc37ed308927390a1d0d09e0e6a2b35fbff7d17aacca0524a37
|
|
patch_args=-Np0
|
|
|
|
post_install() {
|
|
vlicense COPYING
|
|
}
|
|
|
|
libeb-devel_package() {
|
|
depends="libeb>=${version}_${revision}"
|
|
short_desc+=" - development files"
|
|
pkg_install() {
|
|
vmove usr/include
|
|
vmove usr/share/aclocal
|
|
vmove "usr/lib/*.so"
|
|
vmove "usr/lib/*.a"
|
|
}
|
|
}
|
|
|
|
libeb_package() {
|
|
short_desc+=" - Library"
|
|
pkg_install() {
|
|
vmove usr/lib
|
|
}
|
|
}
|