[arch-commits] Commit in libepoxy/repos/extra-x86_64 (PKGBUILD PKGBUILD)

Jan Steffens heftig at gemini.archlinux.org
Tue Mar 22 00:35:49 UTC 2022


    Date: Tuesday, March 22, 2022 @ 00:35:49
  Author: heftig
Revision: 440466

archrelease: copy trunk to extra-x86_64

Added:
  libepoxy/repos/extra-x86_64/PKGBUILD
    (from rev 440465, libepoxy/trunk/PKGBUILD)
Deleted:
  libepoxy/repos/extra-x86_64/PKGBUILD

----------+
 PKGBUILD |  101 ++++++++++++++++++++++++++++++++++++-------------------------
 1 file changed, 60 insertions(+), 41 deletions(-)

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2022-03-22 00:35:00 UTC (rev 440465)
+++ PKGBUILD	2022-03-22 00:35:49 UTC (rev 440466)
@@ -1,41 +0,0 @@
-# Maintainer: Laurent Carlier <lordheavym at gmail.com>
-
-pkgname=libepoxy
-pkgver=1.5.9
-pkgrel=1
-pkgdesc="Library handling OpenGL function pointer management"
-url="https://github.com/anholt/libepoxy"
-arch=(x86_64)
-license=(MIT)
-depends=(glibc)
-makedepends=(python mesa-libgl git meson doxygen graphviz)
-checkdepends=(xorg-server-xvfb)
-_commit=ecfa8e0f083084181d36966fa084aca9a6c97d53  # tags/1.5.9^0
-source=("git+https://github.com/anholt/libepoxy#commit=$_commit")
-sha256sums=('SKIP')
-
-pkgver() {
-  cd $pkgname
-  git describe --tags | sed 's/-/+/g'
-}
-
-prepare() {
-  cd $pkgname
-}
-
-build() {
-  arch-meson $pkgname build -D docs=true
-  meson compile -C build
-}
-
-check() {
-  xvfb-run -s '-nolisten local' \
-    meson test -C build --print-errorlogs
-}
-
-package() {
-  meson install -C build --destdir "$pkgdir"
-  install -Dm644 $pkgname/COPYING "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
-}
-
-# vim:set sw=2 et:

Copied: libepoxy/repos/extra-x86_64/PKGBUILD (from rev 440465, libepoxy/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2022-03-22 00:35:49 UTC (rev 440466)
@@ -0,0 +1,60 @@
+# Maintainer: Jan Alexander Steffens (heftig) <heftig at archlinux.org>
+# Maintainer: Laurent Carlier <lordheavym at gmail.com>
+
+pkgbase=libepoxy
+pkgname=(libepoxy libepoxy-docs)
+pkgver=1.5.10
+pkgrel=1
+pkgdesc="Library handling OpenGL function pointer management"
+url="https://github.com/anholt/libepoxy"
+arch=(x86_64)
+license=(MIT)
+depends=(glibc)
+makedepends=(git meson mesa-libgl systemd doxygen graphviz)
+checkdepends=(xorg-server-xvfb)
+options=(debug)
+_commit=c84bc9459357a40e46e2fec0408d04fbdde2c973  # tags/1.5.10^0
+source=("git+https://github.com/anholt/libepoxy#commit=$_commit")
+sha256sums=('SKIP')
+validpgpkeys=('53EF3DC3B63E2899271BD26322E8091EEA11BBB7') # Emmanuele Bassi <ebassi at gnome.org>
+
+pkgver() {
+  cd libepoxy
+  git describe --tags | sed 's/[^-]*-g/r&/;s/-/+/g'
+}
+
+prepare() {
+  cd libepoxy
+}
+
+build() {
+  arch-meson libepoxy build -D docs=true
+  meson compile -C build
+}
+
+check() {
+  xvfb-run -s '-nolisten local' \
+    meson test -C build --print-errorlogs
+}
+
+package_libepoxy() {
+  provides=(libepoxy.so)
+
+  meson install -C build --destdir "$pkgdir"
+
+  mkdir -p doc/usr/share
+  mv {"$pkgdir",doc}/usr/share/doc
+
+  install -Dt "$pkgdir/usr/share/licenses/$pkgname" -m644 libepoxy/COPYING
+}
+
+package_libepoxy-docs() {
+  pkgdesc+=" (documentation)"
+  depends=()
+
+  mv doc/* "$pkgdir"
+
+  install -Dt "$pkgdir/usr/share/licenses/$pkgname" -m644 libepoxy/COPYING
+}
+
+# vim:set sw=2 et:



More information about the arch-commits mailing list