Date: Saturday, December 25, 2021 @ 18:45:14
  Author: arojas
Revision: 1083748

New libvips dependency

Added:
  libcgif/
  libcgif/trunk/
  libcgif/trunk/PKGBUILD

----------+
 PKGBUILD |   31 +++++++++++++++++++++++++++++++
 1 file changed, 31 insertions(+)

Added: libcgif/trunk/PKGBUILD
===================================================================
--- libcgif/trunk/PKGBUILD                              (rev 0)
+++ libcgif/trunk/PKGBUILD      2021-12-25 18:45:14 UTC (rev 1083748)
@@ -0,0 +1,31 @@
+# Maintainer:
+# Contributor: Daniel Löbl <dloebl.2...@gmail.com>
+
+pkgname=libcgif
+pkgver=0.0.4
+pkgrel=2
+pkgdesc='A fast and lightweight GIF encoding library'
+arch=(x86_64)
+url='https://github.com/dloebl/cgif'
+license=(MIT)
+depends=(glibc)
+makedepends=(meson)
+source=(https://github.com/dloebl/cgif/archive/V$pkgver/$pkgname-$pkgver.tar.gz)
+sha256sums=('44928be23dee6c57f98516813926e02c7edf84dde9dc06931c5513b5d3847936')
+
+build() {
+  meson build cgif-$pkgver \
+    --prefix=/usr
+  meson compile -C build
+}
+
+check() {
+  meson test -C build
+}
+
+package() {
+ #mkdir -p "$pkgdir/usr/lib/" "$pkgdir/usr/include/" 
"$pkgdir/usr/share/licenses/$pkgname/"
+  meson install -C build \
+    --destdir "$pkgdir"
+  install -Dm644 cgif-$pkgver/LICENSE -t "$pkgdir"/usr/share/licenses/$pkgname
+}

Reply via email to