Browse Source

[trunk] -> [extra] 'cairomm-1.16-1.16.1-2' add

master
Dudemanguy 6 months ago
parent
commit
43013802a5
Signed by: Dudemanguy GPG Key ID: 4003D2EF625D6492
  1. 12
      cairomm-1.16/trunk/PKGBUILD
  2. 12
      cairomm-1.16/x86_64/extra/PKGBUILD

12
cairomm-1.16/trunk/PKGBUILD

@ -5,13 +5,13 @@
pkgbase=cairomm-1.16
pkgname=(cairomm-1.16 cairomm-1.16-docs)
pkgver=1.16.1
pkgrel=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 mm-common meson)
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")
@ -36,10 +36,14 @@ check() {
}
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 "$pkgdir"/usr/share/{devhelp,doc} docs/usr/share
mv -t docs/usr/share "$pkgdir"/usr/share/{devhelp,doc}
}
package_cairomm-1.16-docs() {
@ -47,5 +51,5 @@ package_cairomm-1.16-docs() {
depends=()
options=(!strip)
mv docs/* "$pkgdir"
mv -t "$pkgdir" docs/*
}

12
cairomm-1.16/x86_64/extra/PKGBUILD

@ -5,13 +5,13 @@
pkgbase=cairomm-1.16
pkgname=(cairomm-1.16 cairomm-1.16-docs)
pkgver=1.16.1
pkgrel=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 mm-common meson)
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")
@ -36,10 +36,14 @@ check() {
}
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 "$pkgdir"/usr/share/{devhelp,doc} docs/usr/share
mv -t docs/usr/share "$pkgdir"/usr/share/{devhelp,doc}
}
package_cairomm-1.16-docs() {
@ -47,5 +51,5 @@ package_cairomm-1.16-docs() {
depends=()
options=(!strip)
mv docs/* "$pkgdir"
mv -t "$pkgdir" docs/*
}

Loading…
Cancel
Save