summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: d2888e49405d4f141572ec4585389fb8a8d04ad2 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
# Maintainer edu4rdshl
_pkgname=simpleaur
pkgname=simpleaur-git
pkgver=57.14b708a
pkgrel=1
pkgdesc='simpleaur, a AUR helper that does not require extra dependences.'
arch=('any')
url="https://github.com/edu4rdshl/simpleaur"
license=('GPL3')
makedepends=('git')
optdepends=('auracle: search for available updates and package names - recommended')
source=("git+https://github.com/edu4rdshl/$_pkgname.git")
sha256sums=('SKIP')

pkgver() {
    cd $_pkgname
    echo $(git rev-list --count HEAD).$(git rev-parse --short HEAD)
}

package() {
  cd $_pkgname

  install -m 755 -D $_pkgname "$pkgdir/usr/bin/$_pkgname"
}