Date: Friday, June 21, 2019 @ 14:03:27 Author: bgyorgy Revision: 482609
archrelease: copy trunk to community-any Added: drawing/repos/ drawing/repos/community-any/ drawing/repos/community-any/PKGBUILD (from rev 482608, drawing/trunk/PKGBUILD) ----------+ PKGBUILD | 31 +++++++++++++++++++++++++++++++ 1 file changed, 31 insertions(+) Copied: drawing/repos/community-any/PKGBUILD (from rev 482608, drawing/trunk/PKGBUILD) =================================================================== --- repos/community-any/PKGBUILD (rev 0) +++ repos/community-any/PKGBUILD 2019-06-21 14:03:27 UTC (rev 482609) @@ -0,0 +1,31 @@ +# Maintainer: Balló György <ballogyor+arch at gmail dot com> + +pkgname=drawing +pkgver=0.2 +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=(meson) +source=($pkgname-$pkgver.tar.gz::https://github.com/maoschanz/$pkgname/archive/$pkgver.tar.gz) +sha256sums=('83873fcda8102f51c9e5ecd17e95086d0e9ac8196bcf9e202d6e30c0c926fa35') + +prepare() { + cd $pkgname-$pkgver + sed -i "s/'datadir'), 'appdata')/'datadir'), 'metainfo')/" data/meson.build +} + +build() { + arch-meson $pkgname-$pkgver build + ninja -C build +} + +check() { + meson test -C build +} + +package() { + DESTDIR="$pkgdir" meson install -C build +}