blob: 916cbaad7e26d30c6c02e068f6d007ddb6454c12 (
plain)
1
2
3
4
5
6
7
8
9
10
11
|
#!/usr/bin/env bash
# https://github.com/olivergondza/bash-strict-mode
set -euo pipefail
trap 's=$?; echo >&2 "$0: Error on line "$LINENO": $BASH_COMMAND"; exit $s' ERR
DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" >/dev/null && pwd )"
cd "$DIR"
namcap -i PKGBUILD
makepkg --printsrcinfo > .SRCINFO
makepkg -f PKGBUILD
|