summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 4ff6577c3219f6bb9da78776cb5fed5e53e2fb7a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
# Maintainer: John Jenkins <twodopeshaggy@gmail.com>

pkgname=bcal-git
_pkgname=bcal
pkgver=35.68f5bba
pkgrel=1
pkgdesc="Byte CALculator. The engineer's utility for storage conversions and calculations."
arch=("i686" "x86_64")
url="https://github.com/jarun/bcal"
license=('GPL3')
source=(${_pkgname}::"git+https://github.com/jarun/${_pkgname}.git")
sha256sums=('SKIP')
conflicts=('bcal')
provides=('bcal')

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

package() {
  make -C "${srcdir}/${_pkgname}" DESTDIR="${pkgdir}" PREFIX="/usr" install
}