Date: Sunday, December 16, 2018 @ 03:40:24 Author: bgyorgy Revision: 416423
archrelease: copy trunk to community-x86_64 Added: gcolor3/repos/ gcolor3/repos/community-x86_64/ gcolor3/repos/community-x86_64/PKGBUILD (from rev 416422, gcolor3/trunk/PKGBUILD) ----------+ PKGBUILD | 32 ++++++++++++++++++++++++++++++++ 1 file changed, 32 insertions(+) Copied: gcolor3/repos/community-x86_64/PKGBUILD (from rev 416422, gcolor3/trunk/PKGBUILD) =================================================================== --- repos/community-x86_64/PKGBUILD (rev 0) +++ repos/community-x86_64/PKGBUILD 2018-12-16 03:40:24 UTC (rev 416423) @@ -0,0 +1,32 @@ +# Maintainer: Balló György <ballogyor+arch at gmail dot com> + +pkgname=gcolor3 +pkgver=2.3.1 +pkgrel=2 +pkgdesc="Simple color chooser written in GTK3" +arch=(x86_64) +url="https://www.hjdskes.nl/projects/gcolor3/" +license=(GPL3) +depends=(gtk3) +makedepends=(git meson) +_commit=17dca0125fc3c931418d8723b684332d35bd5715 # tags/v2.3.1^0 +source=("git+https://gitlab.gnome.org/World/gcolor3.git#commit=$_commit") +sha256sums=('SKIP') + +pkgver() { + cd $pkgname + git describe --tags | sed 's/^v//;s/-/+/g' +} + +build() { + arch-meson $pkgname build + ninja -C build +} + +check() { + meson test -C build +} + +package() { + DESTDIR="$pkgdir" meson install -C build +}