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

pkgname=notepad
pkgver=1.2.7
_commit=7df18c3d6245c148d628290a910459c5f62f6a5e
pkgrel=3
pkgdesc='A simple notepad for GNU/Linux distributions'
url="https://github.com/alexkdeveloper/notepad"
license=('GPL-3.0-or-later')
arch=('x86_64' 'aarch64')
depends=('libadwaita')
makedepends=('git' 'meson' 'vala')
checkdepends=('appstream-glib')
source=("git+$url.git#commit=$_commit")
sha256sums=('SKIP')

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

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

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