summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 654ec0dd66d2539b8d5f7064bab9aa726ffa8d5f (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
# Maintainer: Archisman Panigrahi <apandada1@gmail.com>
# Contributor: Martin Minka <martin.minka@gmail.com>

pkgname="annotator"
pkgver=2.0.0
pkgrel=3
pkgdesc="Image annotation for Elementary OS"
url="https://github.com/phase1geo/Annotator"
license=("GPL-3.0-or-later")
arch=('aarch64' 'armv6h' 'armv7h' 'i686' 'x86_64')
depends=('libportal-gtk4' 'granite7')
makedepends=('git' 'meson' 'vala' 'gtk3')
source=("https://github.com/phase1geo/Annotator/archive/refs/tags/${pkgver}.tar.gz")
sha1sums=('d6d0447d2ea88d7c2da944e527e1ef2dc7d60fa9')

build() {
    cd "${srcdir}/Annotator-${pkgver}"
    meson build --prefix=/usr	
    ninja -C build
}

package() {
    cd "${srcdir}/Annotator-${pkgver}"
    DESTDIR="${pkgdir}" ninja -C build install
    ln -sv com.github.phase1geo.annotator "$pkgdir/usr/bin/annotator"
}