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

Felix Yan felixonmars at archlinux.org
Tue Jul 7 12:58:38 UTC 2020


    Date: Tuesday, July 7, 2020 @ 12:58:37
  Author: felixonmars
Revision: 658307

archrelease: copy trunk to community-staging-x86_64

Added:
  gtkspellmm/repos/community-staging-x86_64/
  gtkspellmm/repos/community-staging-x86_64/PKGBUILD
    (from rev 658306, gtkspellmm/trunk/PKGBUILD)

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

Copied: gtkspellmm/repos/community-staging-x86_64/PKGBUILD (from rev 658306, gtkspellmm/trunk/PKGBUILD)
===================================================================
--- community-staging-x86_64/PKGBUILD	                        (rev 0)
+++ community-staging-x86_64/PKGBUILD	2020-07-07 12:58:37 UTC (rev 658307)
@@ -0,0 +1,34 @@
+# Maintainer: Balló György <ballogyor+arch at gmail dot com>
+
+pkgbase=gtkspellmm
+pkgname=(gtkspellmm gtkspellmm-docs)
+pkgver=3.0.5
+pkgrel=4
+url="http://gtkspell.sourceforge.net/"
+pkgdesc="C++ binding for gtkspell"
+arch=(x86_64)
+license=(GPL)
+depends=(gtkmm3 gtkspell3)
+makedepends=(gtkmm3-docs)
+source=(https://downloads.sourceforge.net/gtkspell/$pkgbase-$pkgver.tar.xz)
+sha256sums=('5b875a5753ce593274d0c6e803af6300973020c5443905999aba96ed3cef1545')
+
+build() {
+  cd $pkgbase-$pkgver
+  ./configure --prefix=/usr
+  sed -i -e 's/ -shared / -Wl,-O1,--as-needed\0/g' libtool
+  make
+}
+
+package_gtkspellmm() {
+  cd $pkgbase-$pkgver
+  make DESTDIR="$pkgdir" install doc_subdirs=
+}
+
+package_gtkspellmm-docs() {
+  pkgdesc="Developer documentation for gtkspellmm"
+  depends=(gtkmm3-docs)
+
+  cd $pkgbase-$pkgver
+  make -C doc DESTDIR="$pkgdir" install
+}



More information about the arch-commits mailing list