summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: f0fb4553c017560f193d5837b312093ccc901504 (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
30
# Maintainer: Sonny Piers <sonny@fastmail.net>

pkgname=gnomit
pkgver=1.0.7
pkgrel=1
pkgdesc="A simple Git commit message editor for Gnome, written in GJS and inspired by the excellent Komet app for macOS."
arch=('i686' 'x86_64' 'arm' 'armv6h' 'armv7h' 'aarch64')
url="https://source.ind.ie/gnome/gnomit"
license=('GPL3')
depends=('gjs')
makedepends=('git' 'meson')
source=("https://source.ind.ie/gnome/$pkgname/gjs/-/archive/$pkgver/gjs-$pkgver.tar.bz2")
sha256sums=('5b0d069b3d0c232356c2af3b37f1e5823e5b3259bb30a6edd4c08c5948797c8e')

prepare() {
  cd "gjs-$pkgver"
}

build() {
  cd "gjs-$pkgver"

  meson --prefix=/usr/ build
  ninja -C build
}

package(){
  cd "gjs-$pkgver"

  DESTDIR="$pkgdir" meson install -C build
}