[arch-commits] Commit in gtksourceviewmm/trunk (PKGBUILD)
Balló György
bgyorgy at archlinux.org
Fri Jun 21 23:03:48 UTC 2019
Date: Friday, June 21, 2019 @ 23:03:48
Author: bgyorgy
Revision: 482641
upgpkg: gtksourceviewmm 1:3.18.0-4
Adopt the package, split doumentation
Modified:
gtksourceviewmm/trunk/PKGBUILD
----------+
PKGBUILD | 28 +++++++++++++++++++---------
1 file changed, 19 insertions(+), 9 deletions(-)
Modified: PKGBUILD
===================================================================
--- PKGBUILD 2019-06-21 22:59:23 UTC (rev 482640)
+++ PKGBUILD 2019-06-21 23:03:48 UTC (rev 482641)
@@ -1,27 +1,37 @@
-# Maintainer: Alexander F. Rødseth <xyproto at archlinux.org>
+# Maintainer: Balló György <ballogyor+arch at gmail dot com>
+# Contributor: Alexander F. Rødseth <xyproto at archlinux.org>
# Contributor: Ionut Biru <ibiru at archlinux.org>
-pkgname=gtksourceviewmm
+pkgbase=gtksourceviewmm
+pkgname=(gtksourceviewmm gtksourceviewmm-docs)
pkgver=3.18.0
-pkgrel=3
+pkgrel=4
epoch=1
pkgdesc='C++ bindings for the gtksourceview library'
arch=('x86_64')
-url='http://projects.gnome.org/gtksourceviewmm/'
+url='https://gitlab.gnome.org/GNOME/gtksourceviewmm'
license=('LGPL')
depends=('gtkmm3' 'gtksourceview3')
+makedepends=('gtkmm3-docs')
source=("https://download.gnome.org/sources/$pkgname/${pkgver:0:4}/$pkgname-$pkgver.tar.xz")
sha256sums=('51081ae3d37975dae33d3f6a40621d85cb68f4b36ae3835eec1513482aacfb39')
build() {
- cd "$pkgname-$pkgver"
-
+ cd $pkgbase-$pkgver
./configure --prefix=/usr
+ sed -i -e 's/ -shared / -Wl,-O1,--as-needed\0/g' libtool
make
}
-package() {
- DESTDIR="$pkgdir" make -C "$pkgname-$pkgver" install
+package_gtksourceviewmm() {
+ cd $pkgbase-$pkgver
+ make DESTDIR="$pkgdir" install doc_subdirs=
}
-# vim: ts=2 sw=2 et:
+package_gtksourceviewmm-docs() {
+ pkgdesc="Developer documentation for gtksourceviewmm"
+ depends=(gtkmm3-docs)
+
+ cd $pkgbase-$pkgver
+ make -C docs DESTDIR="$pkgdir" install
+}
More information about the arch-commits
mailing list