[arch-commits] Commit in mcabber/repos (2 files)
Evangelos Foutras
foutrelis at archlinux.org
Tue Jul 7 21:38:33 UTC 2020
Date: Tuesday, July 7, 2020 @ 21:38:32
Author: foutrelis
Revision: 660449
archrelease: copy trunk to community-staging-x86_64
Added:
mcabber/repos/community-staging-x86_64/
mcabber/repos/community-staging-x86_64/PKGBUILD
(from rev 660448, mcabber/trunk/PKGBUILD)
----------+
PKGBUILD | 35 +++++++++++++++++++++++++++++++++++
1 file changed, 35 insertions(+)
Copied: mcabber/repos/community-staging-x86_64/PKGBUILD (from rev 660448, mcabber/trunk/PKGBUILD)
===================================================================
--- community-staging-x86_64/PKGBUILD (rev 0)
+++ community-staging-x86_64/PKGBUILD 2020-07-07 21:38:32 UTC (rev 660449)
@@ -0,0 +1,35 @@
+# Maintainer: Sergej Pupykin <pupykin.s+arch at gmail.com>
+# Maintainer: Thorsten Töpper <atsutane-tu at freethoughts.de>
+# Contributor: 3ED <kas1987 at o2.pl>
+
+pkgname=mcabber
+pkgver=1.1.0
+pkgrel=3
+pkgdesc="A small Jabber console client, includes features: SSL, PGP, MUC, UTF8"
+arch=('x86_64')
+url="https://www.lilotux.net/~mikael/mcabber/"
+license=('GPL')
+depends=('ncurses' 'glib2' 'loudmouth' 'gpgme' 'libotr' 'aspell')
+makedepends=('pkg-config')
+validpgpkeys=('EACADFF156849BC89653139E3C2900DEACB7FC95')
+source=(https://www.lilotux.net/~mikael/mcabber/files/$pkgname-${pkgver/_/-}.tar.bz2{,.asc})
+sha256sums=('04fc2c22c36da75cf4b761b5deccd074a19836368f38ab9d03c1e5708b41f0bd'
+ 'SKIP')
+
+build() {
+ cd "${srcdir}"/$pkgname-${pkgver/_/-}
+ CFLAGS+=' -fcommon' # https://wiki.gentoo.org/wiki/Gcc_10_porting_notes/fno_common
+ ./configure --prefix=/usr --enable-hgcset \
+ --mandir=/usr/share/man \
+ --enable-aspell --enable-otr
+ make
+}
+
+package() {
+ cd "${srcdir}"/$pkgname-${pkgver/_/-}
+
+ make DESTDIR="${pkgdir}" install
+ mkdir -p "${pkgdir}"/usr/share/mcabber/example
+ cp -a "${srcdir}"/$pkgname-${pkgver/_/-}/mcabberrc.example \
+ "${pkgdir}"/usr/share/mcabber/example/mcabberrc
+}
More information about the arch-commits
mailing list