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

pkgname=typewriter
pkgver=0.6.1
pkgrel=1
pkgdesc='Minimal writer with autosave'
arch=('x86_64')
url='https://github.com/manexim/typewriter'
license=('GPL3')
depends=('granite' 'gtksourceview4' 'libhandy')
makedepends=('meson' 'vala' 'cmake')
source=("${pkgname}-${pkgver}.tar.gz::${url}/archive/${pkgver}.tar.gz")
sha256sums=('6b8bd3fc30af7681f76a8f77af65ddd003fae0b55fc1337af2e12fec8990da5a')

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: