Browse Source

[trunk] -> [extra] 'pangomm-2.42.1-1' add

master
Dudemanguy 2 years ago
parent
commit
4e9932ba01
Signed by: Dudemanguy
GPG Key ID: 4003D2EF625D6492
  1. 29
      pangomm/repos/extra-x86_64/PKGBUILD
  2. 29
      pangomm/trunk/PKGBUILD

29
pangomm/repos/extra-x86_64/PKGBUILD

@ -2,15 +2,15 @@
pkgbase=pangomm
pkgname=(pangomm pangomm-docs)
pkgver=2.42.0
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)
_commit=59f0ec837adc4fe02ea1c77965b880e1cfeeb4b9 # tags/2.42.0^0
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')
@ -19,28 +19,23 @@ pkgver() {
git describe --tags | sed 's/-/+/g'
}
prepare() {
cd $pkgbase
NOCONFIGURE=1 ./autogen.sh
}
build() {
cd $pkgbase
./configure --prefix=/usr --enable-maintainer-mode
sed -i -e 's/ -shared / -Wl,-O1,--as-needed\0/g' libtool
make
mkdir -p build
cd build
arch-meson ../$pkgbase
ninja
}
package_pangomm() {
cd $pkgbase
sed -i -e 's/^doc_subdirs/#doc_subdirs/' Makefile
make DESTDIR="$pkgdir" install
cd build
DESTDIR="$pkgdir" ninja install
mv "$pkgdir"/usr/share "$srcdir"
}
package_pangomm-docs() {
pkgdesc+=" (documentation)"
depends=()
cd $pkgbase
make -C docs DESTDIR="$pkgdir" install
mkdir -p "$pkgdir"/usr
mv share "$pkgdir"/usr
}

29
pangomm/trunk/PKGBUILD

@ -2,15 +2,15 @@
pkgbase=pangomm
pkgname=(pangomm pangomm-docs)
pkgver=2.42.0
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)
_commit=59f0ec837adc4fe02ea1c77965b880e1cfeeb4b9 # tags/2.42.0^0
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')
@ -19,28 +19,23 @@ pkgver() {
git describe --tags | sed 's/-/+/g'
}
prepare() {
cd $pkgbase
NOCONFIGURE=1 ./autogen.sh
}
build() {
cd $pkgbase
./configure --prefix=/usr --enable-maintainer-mode
sed -i -e 's/ -shared / -Wl,-O1,--as-needed\0/g' libtool
make
mkdir -p build
cd build
arch-meson ../$pkgbase
ninja
}
package_pangomm() {
cd $pkgbase
sed -i -e 's/^doc_subdirs/#doc_subdirs/' Makefile
make DESTDIR="$pkgdir" install
cd build
DESTDIR="$pkgdir" ninja install
mv "$pkgdir"/usr/share "$srcdir"
}
package_pangomm-docs() {
pkgdesc+=" (documentation)"
depends=()
cd $pkgbase
make -C docs DESTDIR="$pkgdir" install
mkdir -p "$pkgdir"/usr
mv share "$pkgdir"/usr
}

Loading…
Cancel
Save