Date: Friday, February 17, 2023 @ 22:02:56
  Author: heftig
Revision: 469233

archrelease: copy trunk to extra-x86_64

Added:
  libnotify/repos/extra-x86_64/PKGBUILD
    (from rev 469232, libnotify/trunk/PKGBUILD)
Deleted:
  libnotify/repos/extra-x86_64/PKGBUILD

----------+
 PKGBUILD |  108 +++++++++++++++++++++++++++++++++++++------------------------
 1 file changed, 67 insertions(+), 41 deletions(-)

Deleted: PKGBUILD
===================================================================
--- PKGBUILD    2023-02-17 22:02:30 UTC (rev 469232)
+++ PKGBUILD    2023-02-17 22:02:56 UTC (rev 469233)
@@ -1,41 +0,0 @@
-# Maintainer: Jan Alexander Steffens (heftig) <[email protected]>
-# Contributor: Jan de Groot <[email protected]>
-
-pkgname=libnotify
-pkgver=0.8.1
-pkgrel=1
-pkgdesc="Library for sending desktop notifications"
-url="https://gitlab.gnome.org/GNOME/libnotify";
-arch=(x86_64)
-license=(LGPL)
-depends=(gdk-pixbuf2)
-makedepends=(gtk3 gobject-introspection git meson docbook-xsl xmlto gtk-doc)
-options=(debug)
-_commit=650f2f123e75469b85d81fbca66e17b744a7714b  # tags/0.8.1^0
-source=("git+$url.git#commit=$_commit")
-sha256sums=('SKIP')
-
-pkgver() {
-  cd $pkgname
-  git describe --tags | sed 's/[^-]*-g/r&/;s/-/+/g'
-}
-
-prepare() {
-  cd $pkgname
-}
-
-build() {
-  arch-meson $pkgname build
-  meson compile -C build
-}
-
-check() {
-  meson test -C build --print-errorlogs
-}
-
-package() {
-  depends+=(libg{lib,object,io}-2.0.so libgdk_pixbuf-2.0.so)
-  provides+=(libnotify.so)
-
-  meson install -C build --destdir "$pkgdir"
-}

Copied: libnotify/repos/extra-x86_64/PKGBUILD (from rev 469232, 
libnotify/trunk/PKGBUILD)
===================================================================
--- PKGBUILD                            (rev 0)
+++ PKGBUILD    2023-02-17 22:02:56 UTC (rev 469233)
@@ -0,0 +1,67 @@
+# Maintainer: Jan Alexander Steffens (heftig) <[email protected]>
+# Contributor: Jan de Groot <[email protected]>
+
+pkgbase=libnotify
+pkgname=(
+  libnotify
+  libnotify-docs
+)
+pkgver=0.8.2
+pkgrel=1
+pkgdesc="Library for sending desktop notifications"
+url="https://gitlab.gnome.org/GNOME/libnotify";
+arch=(x86_64)
+license=(LGPL)
+depends=(gdk-pixbuf2)
+makedepends=(
+  docbook-xsl
+  gi-docgen
+  git
+  gobject-introspection
+  gtk3
+  meson
+  xmlto
+)
+_commit=69aff6e5fa2842e00b409c348bd73188548828b3  # tags/0.8.2^0
+source=("git+$url.git#commit=$_commit")
+sha256sums=('SKIP')
+
+pkgver() {
+  cd $pkgname
+  git describe --tags | sed 's/[^-]*-g/r&/;s/-/+/g'
+}
+
+prepare() {
+  cd $pkgname
+}
+
+build() {
+  arch-meson $pkgname build
+  meson compile -C build
+}
+
+check() {
+  meson test -C build --print-errorlogs
+}
+
+package_libnotify() {
+  depends+=(
+    libg{lib,object,io}-2.0.so
+    libgdk_pixbuf-2.0.so
+  )
+  provides=(libnotify.so)
+
+  meson install -C build --destdir "$pkgdir"
+
+  mkdir -p doc/usr/share
+  mv {"$pkgdir",doc}/usr/share/doc
+}
+
+package_libnotify-docs() {
+  pkgdesc+=" (documentation)"
+  depends=()
+
+  mv doc/* "$pkgdir"
+}
+
+# vim:set sw=2 sts=-1 et:

Reply via email to