[arch-commits] Commit in cairomm-1.16/repos/extra-x86_64 (PKGBUILD PKGBUILD)
Jan Steffens
heftig at archlinux.org
Thu May 27 17:22:20 UTC 2021
Date: Thursday, May 27, 2021 @ 17:22:20
Author: heftig
Revision: 416580
archrelease: copy trunk to extra-x86_64
Added:
cairomm-1.16/repos/extra-x86_64/PKGBUILD
(from rev 416579, cairomm-1.16/trunk/PKGBUILD)
Deleted:
cairomm-1.16/repos/extra-x86_64/PKGBUILD
----------+
PKGBUILD | 106 +++++++++++++++++++++++++++++++------------------------------
1 file changed, 55 insertions(+), 51 deletions(-)
Deleted: PKGBUILD
===================================================================
--- PKGBUILD 2021-05-27 17:22:08 UTC (rev 416579)
+++ PKGBUILD 2021-05-27 17:22:20 UTC (rev 416580)
@@ -1,51 +0,0 @@
-# Maintainer: Jan Alexander Steffens (heftig) <heftig at archlinux.org>
-# Contributor: Kevin <kevin at archlinux.org>
-# Contributor: criminy <criminy at gmail.com>
-
-pkgbase=cairomm-1.16
-pkgname=(cairomm-1.16 cairomm-1.16-docs)
-pkgver=1.16.1
-pkgrel=1
-pkgdesc="C++ bindings for Cairo"
-url="https://www.cairographics.org/cairomm/"
-arch=(x86_64)
-license=(LGPL MPL)
-depends=(cairo libsigc++-3.0)
-makedepends=(git mm-common meson)
-options=(!emptydirs)
-_commit=61286896d11ed961add217ff4a209d10d9efb700 # tags/1.16.1^0
-source=("git+https://gitlab.freedesktop.org/cairo/cairomm.git#commit=$_commit")
-sha256sums=('SKIP')
-
-pkgver() {
- cd cairomm
- git describe --tags | sed 's/-/+/g'
-}
-
-prepare() {
- cd cairomm
-}
-
-build() {
- arch-meson cairomm build -D maintainer-mode=true
- meson compile -C build
-}
-
-check() {
- meson test -C build --print-errorlogs
-}
-
-package_cairomm-1.16() {
- meson install -C build --destdir "$pkgdir"
-
- mkdir -p docs/usr/share
- mv "$pkgdir"/usr/share/{devhelp,doc} docs/usr/share
-}
-
-package_cairomm-1.16-docs() {
- pkgdesc+=" (documentation)"
- depends=()
- options=(!strip)
-
- mv docs/* "$pkgdir"
-}
Copied: cairomm-1.16/repos/extra-x86_64/PKGBUILD (from rev 416579, cairomm-1.16/trunk/PKGBUILD)
===================================================================
--- PKGBUILD (rev 0)
+++ PKGBUILD 2021-05-27 17:22:20 UTC (rev 416580)
@@ -0,0 +1,55 @@
+# Maintainer: Jan Alexander Steffens (heftig) <heftig at archlinux.org>
+# Contributor: Kevin <kevin at archlinux.org>
+# Contributor: criminy <criminy at gmail.com>
+
+pkgbase=cairomm-1.16
+pkgname=(cairomm-1.16 cairomm-1.16-docs)
+pkgver=1.16.1
+pkgrel=2
+pkgdesc="C++ bindings for Cairo"
+url="https://www.cairographics.org/cairomm/"
+arch=(x86_64)
+license=(LGPL MPL)
+depends=(cairo libsigc++-3.0)
+makedepends=(git meson mm-common)
+options=(!emptydirs)
+_commit=61286896d11ed961add217ff4a209d10d9efb700 # tags/1.16.1^0
+source=("git+https://gitlab.freedesktop.org/cairo/cairomm.git#commit=$_commit")
+sha256sums=('SKIP')
+
+pkgver() {
+ cd cairomm
+ git describe --tags | sed 's/-/+/g'
+}
+
+prepare() {
+ cd cairomm
+}
+
+build() {
+ arch-meson cairomm build -D maintainer-mode=true
+ meson compile -C build
+}
+
+check() {
+ meson test -C build --print-errorlogs
+}
+
+package_cairomm-1.16() {
+ depends+=(libsigc-3.0.so)
+ provides=(libcairomm-1.16.so)
+
+ meson install -C build --destdir "$pkgdir"
+
+ # Split -docs
+ mkdir -p docs/usr/share
+ mv -t docs/usr/share "$pkgdir"/usr/share/{devhelp,doc}
+}
+
+package_cairomm-1.16-docs() {
+ pkgdesc+=" (documentation)"
+ depends=()
+ options=(!strip)
+
+ mv -t "$pkgdir" docs/*
+}
More information about the arch-commits
mailing list