[arch-commits] Commit in libcgif (3 files)
Antonio Rojas
arojas at gemini.archlinux.org
Sat Dec 25 18:45:28 UTC 2021
Date: Saturday, December 25, 2021 @ 18:45:28
Author: arojas
Revision: 1083749
archrelease: copy trunk to community-x86_64
Added:
libcgif/repos/
libcgif/repos/community-x86_64/
libcgif/repos/community-x86_64/PKGBUILD
(from rev 1083748, libcgif/trunk/PKGBUILD)
----------+
PKGBUILD | 31 +++++++++++++++++++++++++++++++
1 file changed, 31 insertions(+)
Copied: libcgif/repos/community-x86_64/PKGBUILD (from rev 1083748, libcgif/trunk/PKGBUILD)
===================================================================
--- repos/community-x86_64/PKGBUILD (rev 0)
+++ repos/community-x86_64/PKGBUILD 2021-12-25 18:45:28 UTC (rev 1083749)
@@ -0,0 +1,31 @@
+# Maintainer:
+# Contributor: Daniel Löbl <dloebl.2000 at 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
+}
More information about the arch-commits
mailing list