1 # Maintainer: Balló György <ballogyor+arch at gmail dot com>
2 # Contributor: Mark Wagie <mark dot wagie at tutanota dot com>
7 pkgdesc='Image compressor GUI, supporting PNG and JPEG file types, both lossless and lossy compression mode'
9 url='https://github.com/Huluti/Curtail'
11 depends=('gtk4' 'libadwaita' 'jpegoptim' 'oxipng' 'pngquant' 'python-gobject')
12 makedepends=('appstream-glib' 'meson')
13 source=("https://github.com/Huluti/Curtail/archive/$pkgver/$pkgname-$pkgver.tar.gz")
14 sha256sums=('fc5b846999268eb3ad0f33812c8ce467174fdb9c1a600563fbb19569657c2828')
17 arch-meson Curtail-$pkgver build
18 meson compile -C build
22 meson test -C build --print-errorlogs || true
26 meson install -C build --destdir "$pkgdir"