[arch-commits] Commit in profanity/trunk (PKGBUILD)

Frederik Schwan freswa at gemini.archlinux.org
Wed Nov 3 16:06:13 UTC 2021


    Date: Wednesday, November 3, 2021 @ 16:06:12
  Author: freswa
Revision: 1035630

move to gtk3 and cleanup dependencies

Modified:
  profanity/trunk/PKGBUILD

----------+
 PKGBUILD |   32 +++++++++++++++-----------------
 1 file changed, 15 insertions(+), 17 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2021-11-03 15:57:43 UTC (rev 1035629)
+++ PKGBUILD	2021-11-03 16:06:12 UTC (rev 1035630)
@@ -6,17 +6,25 @@
 pkgbase=profanity
 pkgname=('profanity' 'profanity-gtk')
 pkgver=0.11.1
-pkgrel=1
+pkgrel=2
 epoch=1
 pkgdesc='Console based XMPP client'
 url='http://www.profanity.im'
 arch=('x86_64')
 license=('GPL3')
+_clidepends=(
+  'libcurl.so' 'libncursesw.so' 'expat' 'glib2' 'libotr'
+  'libmesode.so' 'libnotify.so' 'libcrypt.so'
+  'libgpgme.so' 'python' 'libgcrypt' 'libsignal-protocol-c'
+  'glibc' 'libreadline.so' 'libassuan' 'libgpg-error'
+  )
+_gtkdepends=(
+  'libgtk-3.so' 'libxss' 'libx11' 'libpango-1.0.so'
+  'gdk-pixbuf2' 'libatk-1.0.so' 'cairo'
+  )
 makedepends=(
-  'curl' 'ncurses' 'expat' 'glib2' 'libotr' 'libmesode' 'libnotify' 'gpgme'
-  'python' 'gtk2' 'autoconf-archive' 'libsignal-protocol-c' 'libgcrypt'
-  'libx11' 'libxss' 'libxcrypt' 'glibc' 'freetype2' 'readline' 'libassuan'
-  'harfbuzz' 'pango' 'gdk-pixbuf2' 'atk' 'cairo' 'libgpg-error')
+  ${_clidepends[@]} ${_gtkdepends[@]} 'autoconf-archive'
+  )
 checkdepends=('cmocka')
 source=(https://github.com/profanity-im/profanity/archive/${pkgver}/${pkgbase}-${pkgver}.tar.gz)
 sha256sums=('6a8b0b5a478c3a2b17b8c2eb572a3173a70b4c3740c61dd638a2d04a45147f9f')
@@ -65,10 +73,7 @@
 
 package_profanity() {
   depends=(
-    'curl' 'libcurl.so' 'ncurses' 'libncursesw.so' 'expat' 'glib2' 'libotr'
-    'libmesode' 'libmesode.so' 'libnotify' 'libnotify.so' 'libxcrypt' 'libcrypt.so'
-    'gpgme' 'libgpgme.so' 'python' 'libgcrypt' 'libsignal-protocol-c'
-    'glibc' 'readline' 'libreadline.so' 'libassuan' 'libgpg-error'
+    ${_clidepends[@]}
   )
   cd ${pkgbase}-${pkgver}
   make DESTDIR="${pkgdir}" install
@@ -77,14 +82,7 @@
 package_profanity-gtk() {
   pkgdesc+=' (gtk support)'
   depends=(
-    'curl' 'libcurl.so' 'ncurses' 'libncursesw.so' 'expat' 'glib2' 'libotr'
-    'libmesode' 'libmesode.so' 'libnotify' 'libnotify.so' 'libxcrypt' 'libcrypt.so'
-    'gpgme' 'libgpgme.so' 'python' 'libgcrypt' 'libsignal-protocol-c'
-    'glibc' 'readline' 'libreadline.so' 'libassuan' 'libgpg-error'
-
-    'gtk2' 'libxss' 'libx11' 'pango' 'libpango-1.0.so' 'libpangoft2-1.0.so'
-    'freetype2' 'libfreetype.so' 'harfbuzz' 'libharfbuzz.so' 'gdk-pixbuf2'
-    'atk' 'libatk-1.0.so' 'cairo'
+    ${_clidepends[@]} ${_gtkdepends[@]}
   )
   provides=('profanity')
   conflicts=('profanity')



More information about the arch-commits mailing list