tl-makepkg/tl-makepkg

19 lines
434 B
Plaintext
Raw Normal View History

2017-01-24 15:42:41 +00:00
#!/bin/bash
declare -A config
conf="${CONFIG_FILE:-/etc/tl-makepkg.conf}"
2017-01-24 15:42:41 +00:00
errmsg() {
printf "Error in %s: %s\n" "${FUNCNAME[1]}" "$1" >&2
2017-01-24 15:42:41 +00:00
}
makepkg_run() { # Usage: makepkg_run <RepoDir> <MakepkgOpts>
PKGDEST="$1"
shift 1
makepkg $@
2017-01-24 15:42:41 +00:00
}
PKGDEST=$(pacini $conf RepoDir) makepkg $@ $(pacini $conf MakepkgOpts)
repose $(pacini $conf ReposeOpts) --root $(pacini $conf RepoDir) --pool $(pacini $conf RepoDir) $(pacini $conf DBFile)