blob: 87e03be7d451507490ccc66d4cca11bd331017ca (
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
33
34
35
|
# Maintainer: begin-theadventure <begin-thecontact.ncncb at dralias dot com>
_pkgname=curtail
pkgname=$_pkgname-git
pkgdesc="Simple & lossless image compressor"
pkgver=1.7.0+11+gab0e268
pkgrel=1
arch=('any')
url="https://github.com/Huluti/Curtail"
license=('GPL3')
depends=('jpegoptim' 'libadwaita' 'libwebp' 'optipng' 'pngquant' 'python-gobject')
makedepends=('git' 'meson')
checkdepends=('appstream-glib')
conflicts=($_pkgname imcompressor)
provides=($_pkgname)
source=("git+$url.git")
sha256sums=('SKIP')
pkgver() {
cd Curtail
git describe --tags | sed 's/-/+/g'
}
build() {
arch-meson Curtail build
meson compile -C build
}
check() {
meson test -C build --print-errorlogs
}
package() {
DESTDIR="$pkgdir" meson install -C build
}
|