diff options
author | Tom "Ravi" Hale | 2018-10-13 18:22:31 +0700 |
---|---|---|
committer | Tom "Ravi" Hale | 2018-10-13 18:22:31 +0700 |
commit | 1702b38c4939d8176e07eeb5ff6b2addf15e30b7 (patch) | |
tree | f3acced605784fa781b339cb5b87cfe5c8212d4c | |
parent | 0ce038836c563d896456bc524f761afca89d87df (diff) | |
download | aur-1702b38c4939d8176e07eeb5ff6b2addf15e30b7.tar.gz |
Add srcinfo-update
-rwxr-xr-x | srcinfo-update | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/srcinfo-update b/srcinfo-update new file mode 100755 index 000000000000..b99adca92db9 --- /dev/null +++ b/srcinfo-update @@ -0,0 +1,9 @@ +#!/bin/bash + +# A convenience script for the package creator. +# This file is not run on package installation. + +pkgdir=${0%%/*} # dirname $0 +cd -P -- "$pkgdir" || exit 1 # Allow to be called from any directory + +makepkg --printsrcinfo >| .SRCINFO && echo "Updated .SRCINFO" >&2 |