summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorTom "Ravi" Hale2018-10-13 18:22:31 +0700
committerTom "Ravi" Hale2018-10-13 18:22:31 +0700
commit1702b38c4939d8176e07eeb5ff6b2addf15e30b7 (patch)
treef3acced605784fa781b339cb5b87cfe5c8212d4c
parent0ce038836c563d896456bc524f761afca89d87df (diff)
downloadaur-1702b38c4939d8176e07eeb5ff6b2addf15e30b7.tar.gz
Add srcinfo-update
-rwxr-xr-xsrcinfo-update9
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