summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorKevin Majewski2021-03-26 01:09:33 +0100
committerKevin Majewski2021-03-26 01:09:33 +0100
commit144c9d97eae929a12d37ea7d26037860f53a325b (patch)
tree6fa8776498c849ef517ca923e4dea031cdc5bf14
downloadaur-144c9d97eae929a12d37ea7d26037860f53a325b.tar.gz
Initial commit
-rw-r--r--.SRCINFO21
-rw-r--r--PKGBUILD32
2 files changed, 53 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO
new file mode 100644
index 00000000000..481cfb60399
--- /dev/null
+++ b/.SRCINFO
@@ -0,0 +1,21 @@
+pkgbase = curtail-git
+ pkgdesc = Simple & lossless image compressor.
+ pkgver = 1.1.0+2+g6918486
+ pkgrel = 1
+ url = https://github.com/Huluti/Curtail
+ arch = any
+ license = GPL3
+ checkdepends = appstream-glib
+ makedepends = meson
+ depends = gtk3
+ depends = python-gobject
+ depends = jpegoptim
+ depends = optipng
+ depends = pngquant
+ provides = curtail
+ conflicts = curtail
+ conflicts = imcompressor
+ source = git+https://github.com/Huluti/Curtail.git
+ b2sums = SKIP
+
+pkgname = curtail-git
diff --git a/PKGBUILD b/PKGBUILD
new file mode 100644
index 00000000000..95f3be9c835
--- /dev/null
+++ b/PKGBUILD
@@ -0,0 +1,32 @@
+pkgname=curtail-git
+pkgver=1.1.0+2+g6918486
+pkgrel=1
+pkgdesc="Simple & lossless image compressor."
+arch=('any')
+url="https://github.com/Huluti/Curtail"
+license=('GPL3')
+depends=('gtk3' 'python-gobject' 'jpegoptim' 'optipng' 'pngquant')
+makedepends=('meson')
+checkdepends=('appstream-glib')
+provides=('curtail')
+conflicts=('curtail' 'imcompressor')
+source=("git+https://github.com/Huluti/Curtail.git")
+b2sums=('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
+}