summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 36bb111c30a6355e42db705ad6aacec0a08b7e1c (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
27
28
29
30
31
32
33
34
35
# Maintainer: Miguel Palencia <mike@qtum.org>

pkgname=solar-git
pkgver=20190721
pkgrel=1
pkgdesc="Smart Contracts deployment tool"
arch=('x86_64')
depends=('solidity')
makedepends=('go')

url="https://github.com/qtumproject/solar"
license=('MIT')
source=(git+https://github.com/qtumproject/solar)
sha256sums=('SKIP')
provides=('solar')
conflicts=('solar')


pkgver() {
  cd ${pkgname%-git}
  git log -1 --format="%cd" --date=short --no-show-signature | sed "s|-||g"
}

build() {
  cd ${pkgname%-git}
  make
  echo 'Building...'
 
}

package() {
  cd ${pkgname%-git}
 install -Dm755 solar "$pkgdir/usr/bin/solar"
}