summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 6b723b40ea3f6da514a55aafc1623b85e2ecbe8c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
# Maintainer: Alexandria Pettit <alxpettit@gmail.com>
_pkgname=aur-audit
pkgname="${_pkgname}-git"
pkgver=r2.e7e053c
pkgrel=1
pkgdesc="Audit AUR packages more easily"
arch=('any')
url="https://github.com/alxpettit/${_pkgname}"
license=('GPL3')
makedepends=('git')
source=("${pkgname}::git+${url}.git")
sha256sums=('SKIP')
depends=('bat')
pkgver() {
  cd "${pkgname}"
  printf "r%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)"
}

package() {
  install -Dm755 "${pkgname}/${_pkgname}" "${pkgdir}/usr/bin/${_pkgname}"
}