[arch-commits] Commit in gtksourceviewmm/repos/community-x86_64 (PKGBUILD PKGBUILD)

Balló György bgyorgy at archlinux.org
Fri Jun 21 23:03:52 UTC 2019


    Date: Friday, June 21, 2019 @ 23:03:52
  Author: bgyorgy
Revision: 482642

archrelease: copy trunk to community-x86_64

Added:
  gtksourceviewmm/repos/community-x86_64/PKGBUILD
    (from rev 482641, gtksourceviewmm/trunk/PKGBUILD)
Deleted:
  gtksourceviewmm/repos/community-x86_64/PKGBUILD

----------+
 PKGBUILD |   65 ++++++++++++++++++++++++++++++++++---------------------------
 1 file changed, 37 insertions(+), 28 deletions(-)

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2019-06-21 23:03:48 UTC (rev 482641)
+++ PKGBUILD	2019-06-21 23:03:52 UTC (rev 482642)
@@ -1,28 +0,0 @@
-#$Id$
-# Maintainer: Alexander F. Rødseth <xyproto at archlinux.org>
-# Contributor: Ionut Biru <ibiru at archlinux.org>
-
-pkgname=gtksourceviewmm
-pkgver=3.18.0
-pkgrel=3
-epoch=1
-pkgdesc='C++ bindings for the gtksourceview library'
-arch=('x86_64')
-url='http://projects.gnome.org/gtksourceviewmm/'
-license=('LGPL')
-depends=('gtkmm3' 'gtksourceview3')
-source=("https://download.gnome.org/sources/$pkgname/${pkgver:0:4}/$pkgname-$pkgver.tar.xz")
-sha256sums=('51081ae3d37975dae33d3f6a40621d85cb68f4b36ae3835eec1513482aacfb39')
-
-build() {
-  cd "$pkgname-$pkgver"
-
-  ./configure --prefix=/usr
-  make
-}
-
-package() {
-  DESTDIR="$pkgdir" make -C "$pkgname-$pkgver" install
-}
-
-# vim: ts=2 sw=2 et:

Copied: gtksourceviewmm/repos/community-x86_64/PKGBUILD (from rev 482641, gtksourceviewmm/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2019-06-21 23:03:52 UTC (rev 482642)
@@ -0,0 +1,37 @@
+# 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>
+
+pkgbase=gtksourceviewmm
+pkgname=(gtksourceviewmm gtksourceviewmm-docs)
+pkgver=3.18.0
+pkgrel=4
+epoch=1
+pkgdesc='C++ bindings for the gtksourceview library'
+arch=('x86_64')
+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 $pkgbase-$pkgver
+  ./configure --prefix=/usr
+  sed -i -e 's/ -shared / -Wl,-O1,--as-needed\0/g' libtool
+  make
+}
+
+package_gtksourceviewmm() {
+  cd $pkgbase-$pkgver
+  make DESTDIR="$pkgdir" install doc_subdirs=
+}
+
+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