summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 90cccae6d173e6e6371b4dd1bfd8bf187aeefcfd (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
# Maintainer: begin-theadventure <begin-thecontact.ncncb at dralias dot com>

pkgname=newelle
pkgdesc='Your Ultimate Virtual Assistant'
pkgver=0.1.7
pkgrel=1
arch=('any')
url="https://github.com/qwersyk/Newelle"
license=('GPL3')
depends=('python' 'libadwaita')
makedepends=('git' 'meson')
source=("git+$url.git#tag=$pkgver")
sha256sums=('SKIP')

build() {
  arch-meson Newelle build
  meson compile -C build
}

package() {
  DESTDIR="$pkgdir" meson install -C build
  chmod +x "$pkgdir/usr/bin/$pkgname"
  install -Dm644 Newelle/README.md -t "$pkgdir/usr/share/doc/$pkgname"
  install -Dm644 Newelle/COPYING -t "$pkgdir/usr/share/licenses/$pkgname"
}