Browse Source

[trunk] -> [extra] 'cairomm-1.14.3-2' add

master
Dudemanguy 1 year ago
parent
commit
fc3444cfe8
Signed by: Dudemanguy
GPG Key ID: 4003D2EF625D6492
  1. 20
      cairomm/trunk/PKGBUILD
  2. 20
      cairomm/x86_64/extra/PKGBUILD

20
cairomm/trunk/PKGBUILD

@ -5,29 +5,29 @@
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/v1.14.3^0
_commit=77a0bac11cc16c66d5292bb2546c1dca3525c918 # tags/1.14.3^0
source=("git+https://gitlab.freedesktop.org/cairo/cairomm.git#commit=$_commit")
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 @@ check() {
}
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 @@ package_cairomm-docs() {
depends=()
options=(!strip)
mv docs/* "$pkgdir"
mv -t "$pkgdir" docs/*
}

20
cairomm/x86_64/extra/PKGBUILD

@ -5,29 +5,29 @@
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/v1.14.3^0
_commit=77a0bac11cc16c66d5292bb2546c1dca3525c918 # tags/1.14.3^0
source=("git+https://gitlab.freedesktop.org/cairo/cairomm.git#commit=$_commit")
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 @@ check() {
}
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 @@ package_cairomm-docs() {
depends=()
options=(!strip)
mv docs/* "$pkgdir"
mv -t "$pkgdir" docs/*
}

Loading…
Cancel
Save