summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 2c901d8df7137fa1553dcdc43e9e96f323a1d706 (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: Caltlgin Stsodaat <contact@fossdaily.xyz>

_pkgname='stocks'
pkgname="simple-${_pkgname}"
pkgver=1.0.9
pkgrel=1
pkgdesc='Keep tabs on your favorite stocks'
arch=('x86_64')
url='https://github.com/brendanperry/stocks'
license=('GPL3')
depends=('granite')
makedepends=('meson' 'vala')
source=("${_pkgname}-${pkgver}.tar.gz::${url}/archive/${pkgver}.tar.gz")
sha256sums=('7af56cce94c55cd1398847b83f1ad46b467c9e9cb969a059735aaf562942296c')

build() {
  arch-meson "${_pkgname}-${pkgver}" 'build'
  meson compile -C 'build'
}

package() {
  DESTDIR="${pkgdir}" meson install -C 'build'
  install -Dvm644 "${_pkgname}-${pkgver}/README.md" -t "${pkgdir}/usr/share/doc/${pkgname}"
}

# vim: ts=2 sw=2 et: