29 lines
575 B
Plaintext
Executable File
29 lines
575 B
Plaintext
Executable File
#!/usr/bin/env modbuild
|
|
|
|
pbuild::set_download_url "https://releases.pagure.org/$P/$P-${V_PKG}.tar.bz2"
|
|
|
|
pbuild::compile_in_sourcetree
|
|
pbuild::add_to_group 'Tools'
|
|
pbuild::install_docfiles \
|
|
AUTHORS \
|
|
COPYING \
|
|
FAQ \
|
|
NEWS \
|
|
README \
|
|
THANKS
|
|
|
|
pbuild::pre_configure() {
|
|
# :FIXME: Hack for macos, we should build our own xsltproc module
|
|
test -x /opt/local/bin/xsltproc && pbuild::add_configure_args XSLTPROC=$_
|
|
}
|
|
|
|
pbuild::post_install() {
|
|
cp -av "${GETOPT_DIR}/bin/getopt" "${PREFIX}/bin"
|
|
}
|
|
|
|
# Local Variables:
|
|
# mode: sh
|
|
# sh-basic-offset: 8
|
|
# tab-width: 8
|
|
# End:
|