28 lines
785 B
Bash
28 lines
785 B
Bash
# Template file for 'run-parts'
|
|
pkgname=run-parts
|
|
version=4.11.2
|
|
revision=2
|
|
bootstrap=yes
|
|
build_style=gnu-configure
|
|
make_build_args="run-parts ischroot"
|
|
short_desc="Run scripts or programs in a directory"
|
|
maintainer="Đoàn Trần Công Danh <congdanhqx@gmail.com>"
|
|
license="GPL-2.0-or-later"
|
|
homepage="https://tracker.debian.org/pkg/debianutils"
|
|
changelog="http://metadata.ftp-master.debian.org/changelogs/main/d/debianutils/debianutils_${version}_changelog"
|
|
distfiles="${DEBIAN_SITE}/main/d/debianutils/debianutils_${version}.tar.xz"
|
|
checksum=3b680e81709b740387335fac8f8806d71611dcf60874e1a792e862e48a1650de
|
|
|
|
do_install() {
|
|
vbin run-parts
|
|
vman run-parts.8
|
|
}
|
|
|
|
ischroot_package() {
|
|
short_desc="Check if running inside chroot"
|
|
pkg_install() {
|
|
vbin ischroot
|
|
vman ischroot.1
|
|
}
|
|
}
|