summarylogtreecommitdiffstats
path: root/prepare-aur-update
blob: 9972b8b929837efec2db970b608f0b40c5ed55fe (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
#!/bin/bash
#
# Run after makepkg -i
#

source PKGBUILD

echo "--- Updating .SRCINFO"
makepkg --printsrcinfo > .SRCINFO

echo "--- Checking PKGBUILD"
namcap PKGBUILD

echo "--- Checking "
_pkgarch="$(grep 'arch = ' .SRCINFO | cut -d ' ' -f 3)"
namcap "$pkgname-$epoch:$pkgver-$pkgrel-$_pkgarch.pkg.tar"