[arch-commits] Commit in cairomm/trunk (PKGBUILD)
Jan Steffens
heftig at archlinux.org
Thu May 27 17:22:01 UTC 2021
Date: Thursday, May 27, 2021 @ 17:22:00
Author: heftig
Revision: 416578
1.14.3-2
Modified:
cairomm/trunk/PKGBUILD
----------+
PKGBUILD | 18 +++++++++++-------
1 file changed, 11 insertions(+), 7 deletions(-)
Modified: PKGBUILD
===================================================================
--- PKGBUILD 2021-05-27 17:18:23 UTC (rev 416577)
+++ PKGBUILD 2021-05-27 17:22:00 UTC (rev 416578)
@@ -5,13 +5,13 @@
pkgbase=cairomm
pkgname=(cairomm cairomm-docs)
pkgver=1.14.3
-pkgrel=1
+pkgrel=2
pkgdesc="C++ bindings for Cairo"
url="https://www.cairographics.org/cairomm/"
arch=(x86_64)
license=(LGPL MPL)
depends=(cairo libsigc++)
-makedepends=(git mm-common meson)
+makedepends=(git meson mm-common)
options=(!emptydirs)
_commit=77a0bac11cc16c66d5292bb2546c1dca3525c918 # tags/1.14.3^0
source=("git+https://gitlab.freedesktop.org/cairo/cairomm.git#commit=$_commit")
@@ -18,16 +18,16 @@
sha256sums=('SKIP')
pkgver() {
- cd $pkgbase
+ cd cairomm
git describe --tags | sed 's/-/+/g'
}
prepare() {
- cd $pkgbase
+ cd cairomm
}
build() {
- arch-meson $pkgbase build -D maintainer-mode=true
+ arch-meson cairomm build -D maintainer-mode=true
meson compile -C build
}
@@ -36,10 +36,14 @@
}
package_cairomm() {
+ depends+=(libsigc-2.0.so)
+ provides=(libcairomm-1.0.so)
+
meson install -C build --destdir "$pkgdir"
+ # Split -docs
mkdir -p docs/usr/share
- mv "$pkgdir"/usr/share/{devhelp,doc} docs/usr/share
+ mv -t docs/usr/share "$pkgdir"/usr/share/{devhelp,doc}
}
package_cairomm-docs() {
@@ -47,5 +51,5 @@
depends=()
options=(!strip)
- mv docs/* "$pkgdir"
+ mv -t "$pkgdir" docs/*
}
More information about the arch-commits
mailing list