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

pkgname=notepad
pkgdesc='A simple notepad for GNU/Linux distributions'
pkgver=1.2.3
pkgrel=1
arch=('aarch64' 'x86_64')
url="https://github.com/alexkdeveloper/notepad"
license=('GPL3')
depends=('libadwaita' 'vala')
makedepends=('git' 'meson')
checkdepends=('appstream-glib')
source=("git+$url.git#tag=$pkgver")
sha256sums=('SKIP')

build() {
  arch-meson $pkgname build
  meson compile -C build
}

check() {
  meson test -C build --print-errorlogs || :
}

package() {
  DESTDIR="$pkgdir" meson install -C build
  ln -s com.github.alexkdeveloper.$pkgname "$pkgdir/usr/bin/$pkgname.alexkdeveloper"
}