summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 30fc97c9823ebd52e02de8fba362430353ece9b5 (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
26
# Maintainer: Chris Salzberg <chris@dejimata.com>

pkgname=wat-git
pkgver=r2.76a920c
pkgrel=1
pkgdesc="Show upgrades since recent -Syu"
arch=('i686' 'x86_64')
url="https://github.com/pbrisbin/wat"
license=('MIT')
depends=('pacman')
makedepends=('git')
source=("$pkgname"::'git://github.com/pbrisbin/wat.git')
#source=('git+https://github.com/orschiro/aclidswitch.git'
#source=('git+https://github.com/orschiro/aclidswitch.git#branch=master'
md5sums=('SKIP')

pkgver() {
  cd "$srcdir/$pkgname"
  printf "r%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)"
}

package() {
  cd "$srcdir/$pkgname"
  install -Dm755 "$srcdir/$pkgname/wat" "$pkgdir/usr/bin/wat"
}