[arch-commits] Commit in pangomm/repos/extra-x86_64 (PKGBUILD PKGBUILD)
Jan Steffens
heftig at archlinux.org
Sun Mar 22 16:20:32 UTC 2020
Date: Sunday, March 22, 2020 @ 16:20:32
Author: heftig
Revision: 378345
archrelease: copy trunk to extra-x86_64
Added:
pangomm/repos/extra-x86_64/PKGBUILD
(from rev 378338, pangomm/trunk/PKGBUILD)
Deleted:
pangomm/repos/extra-x86_64/PKGBUILD
----------+
PKGBUILD | 90 +++++++++++++++++++++++++++++++++----------------------------
1 file changed, 49 insertions(+), 41 deletions(-)
Deleted: PKGBUILD
===================================================================
--- PKGBUILD 2020-03-22 16:20:31 UTC (rev 378344)
+++ PKGBUILD 2020-03-22 16:20:32 UTC (rev 378345)
@@ -1,41 +0,0 @@
-# Maintainer: Jan de Groot <jgc at archlinux.org>
-
-pkgbase=pangomm
-pkgname=(pangomm pangomm-docs)
-pkgver=2.42.1
-pkgrel=1
-pkgdesc="C++ bindings for Pango"
-url="https://www.gtkmm.org/"
-arch=(x86_64)
-license=(LGPL)
-depends=(pango glibmm cairomm)
-makedepends=(git mm-common glibmm-docs cairomm-docs meson)
-_commit=7dfc6c3372faaa4a7c492d08f09881b02095145b # tags/2.42.1^0
-source=("git+https://gitlab.gnome.org/GNOME/pangomm.git#commit=$_commit")
-sha256sums=('SKIP')
-
-pkgver() {
- cd $pkgbase
- git describe --tags | sed 's/-/+/g'
-}
-
-build() {
- mkdir -p build
- cd build
- arch-meson ../$pkgbase
- ninja
-}
-
-package_pangomm() {
- cd build
- DESTDIR="$pkgdir" ninja install
- mv "$pkgdir"/usr/share "$srcdir"
-}
-
-package_pangomm-docs() {
- pkgdesc+=" (documentation)"
- depends=()
-
- mkdir -p "$pkgdir"/usr
- mv share "$pkgdir"/usr
-}
Copied: pangomm/repos/extra-x86_64/PKGBUILD (from rev 378338, pangomm/trunk/PKGBUILD)
===================================================================
--- PKGBUILD (rev 0)
+++ PKGBUILD 2020-03-22 16:20:32 UTC (rev 378345)
@@ -0,0 +1,49 @@
+# Maintainer: Jan de Groot <jgc at archlinux.org>
+
+pkgbase=pangomm
+pkgname=(pangomm pangomm-docs)
+pkgver=2.42.1
+pkgrel=2
+pkgdesc="C++ bindings for Pango"
+url="https://www.gtkmm.org/"
+arch=(x86_64)
+license=(LGPL)
+depends=(pango glibmm cairomm)
+makedepends=(git mm-common glibmm-docs cairomm-docs meson)
+options=(!emptydirs)
+_commit=7dfc6c3372faaa4a7c492d08f09881b02095145b # tags/2.42.1^0
+source=("git+https://gitlab.gnome.org/GNOME/pangomm.git#commit=$_commit")
+sha256sums=('SKIP')
+
+pkgver() {
+ cd $pkgbase
+ git describe --tags | sed 's/-/+/g'
+}
+
+prepare() {
+ cd $pkgbase
+}
+
+build() {
+ arch-meson $pkgbase build -D maintainer-mode=true
+ ninja -C build
+}
+
+check() {
+ meson test -C build --print-errorlogs
+}
+
+package_pangomm() {
+ DESTDIR="$pkgdir" meson install -C build
+
+ mkdir -p docs/usr/share
+ mv "$pkgdir"/usr/share/{devhelp,doc} docs/usr/share
+}
+
+package_pangomm-docs() {
+ pkgdesc+=" (documentation)"
+ depends=()
+ options=(!strip)
+
+ mv docs/* "$pkgdir"
+}
More information about the arch-commits
mailing list