summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 28d4249e729c8ab3a79f2bcc2895df408c0f7fab (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
31
32
# Maintainer: Philip Goto <philip.goto@gmail.com>

pkgname=drawing-git
pkgver=0.4.1.r116.g75f8140
pkgrel=1
pkgdesc="Drawing application for the GNOME desktop"
url="https://github.com/maoschanz/drawing"
arch=(any)
license=(GPL3)
depends=(gtk3 python-cairo python-gobject)
makedepends=(git meson)
conflicts=(drawing)
source=("git+https://github.com/maoschanz/drawing.git")
sha256sums=(SKIP)

pkgver() {
    cd drawing
    git describe --long --tags | sed 's/\([^-]*-g\)/r\1/;s/-/./g'
}

build() {
    arch-meson drawing build
    ninja -C build
}

check() {
    meson test -C build
}

package() {
    DESTDIR="$pkgdir" meson install -C build
}