summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 1e347175febf97f50f9169b0bae7ffc827b67874 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
# Maintainer: Dominic Egginton <dominic.egginton@gmail.com>
pkgname=flip-git
pkgver=0.1.3.r0.g1a195a0
pkgrel=1
pkgdesc="Flip coins in your command line"
arch=("x86_64")
url="https://github.com/dominicegginton/flip"
license=('MIT')
provides=(flip)
conflicts=(flip)
source=(${pkgname}"::git+"${url})
sha256sums=('SKIP')

pkgver() {
  cd ${pkgname}
  git describe --long --tags | sed 's/\([^-]*-g\)/r\1/;s/-/./g'
}

package() {
  cd ${pkgname}
  DESTDIR=${pkgdir} make install
}