[arch-commits] Commit in gtksourceviewmm/repos (2 files)

Felix Yan felixonmars at archlinux.org
Tue Jul 7 16:27:20 UTC 2020


    Date: Tuesday, July 7, 2020 @ 16:27:20
  Author: felixonmars
Revision: 659254

archrelease: copy trunk to community-staging-x86_64

Added:
  gtksourceviewmm/repos/community-staging-x86_64/
  gtksourceviewmm/repos/community-staging-x86_64/PKGBUILD
    (from rev 659253, gtksourceviewmm/trunk/PKGBUILD)

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

Copied: gtksourceviewmm/repos/community-staging-x86_64/PKGBUILD (from rev 659253, gtksourceviewmm/trunk/PKGBUILD)
===================================================================
--- community-staging-x86_64/PKGBUILD	                        (rev 0)
+++ community-staging-x86_64/PKGBUILD	2020-07-07 16:27:20 UTC (rev 659254)
@@ -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=5
+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