[arch-commits] Commit in atkmm/trunk (PKGBUILD)
Jan Steffens
heftig at archlinux.org
Thu May 27 17:25:51 UTC 2021
Date: Thursday, May 27, 2021 @ 17:25:51
Author: heftig
Revision: 416583
2.28.2-2
Modified:
atkmm/trunk/PKGBUILD
----------+
PKGBUILD | 20 ++++++++++++--------
1 file changed, 12 insertions(+), 8 deletions(-)
Modified: PKGBUILD
===================================================================
--- PKGBUILD 2021-05-27 17:25:35 UTC (rev 416582)
+++ PKGBUILD 2021-05-27 17:25:51 UTC (rev 416583)
@@ -1,16 +1,16 @@
# Maintainer: Jan Alexander Steffens (heftig) <heftig at archlinux.org>
-# Maintainer: Jan de Groot <jgc at archlinux.org>
+# Contributor: Jan de Groot <jgc at archlinux.org>
pkgbase=atkmm
pkgname=(atkmm atkmm-docs)
pkgver=2.28.2
-pkgrel=1
+pkgrel=2
pkgdesc="C++ bindings for ATK"
url="https://www.gtkmm.org/"
arch=(x86_64)
license=(LGPL)
depends=(atk glibmm)
-makedepends=(git mm-common glibmm-docs meson)
+makedepends=(git meson mm-common glibmm-docs)
options=(!emptydirs)
_commit=9d32ab6180abaee57f6dd8fc9ea094563e802bb7 # tags/2.28.2^0
source=("git+https://gitlab.gnome.org/GNOME/atkmm.git#commit=$_commit")
@@ -17,16 +17,16 @@
sha256sums=('SKIP')
pkgver() {
- cd $pkgbase
+ cd atkmm
git describe --tags | sed 's/-/+/g'
}
prepare() {
- cd $pkgbase
+ cd atkmm
}
build() {
- arch-meson $pkgbase build -D maintainer-mode=true
+ arch-meson atkmm build -D maintainer-mode=true
meson compile -C build
}
@@ -35,10 +35,14 @@
}
package_atkmm() {
+ depends+=(libsigc-2.0.so libglibmm-2.4.so)
+ provides=(libatkmm-1.6.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_atkmm-docs() {
@@ -46,5 +50,5 @@
depends=()
options=(!strip)
- mv docs/* "$pkgdir"
+ mv -t "$pkgdir" docs/*
}
More information about the arch-commits
mailing list