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

Jan de Groot jgc at archlinux.org
Sat Sep 16 19:52:13 UTC 2017


    Date: Saturday, September 16, 2017 @ 19:52:11
  Author: jgc
Revision: 305666

Add gmime3 package, parallel installable with old gmime 2.6

Added:
  gmime3/
  gmime3/trunk/
Modified:
  gmime3/trunk/PKGBUILD

----------+
 PKGBUILD |   22 +++++++++-------------
 1 file changed, 9 insertions(+), 13 deletions(-)

Modified: gmime3/trunk/PKGBUILD
===================================================================
--- gmime/trunk/PKGBUILD	2017-09-16 19:32:30 UTC (rev 305665)
+++ gmime3/trunk/PKGBUILD	2017-09-16 19:52:11 UTC (rev 305666)
@@ -2,8 +2,8 @@
 # Maintainer: Jan de Groot <jgc at archlinux.org>
 # Contributor: Ben <ben at benmazer.net>
 
-pkgname=gmime
-pkgver=2.6.23+4+g91dcee38
+pkgname=gmime3
+pkgver=3.0.2
 pkgrel=1
 pkgdesc="Glorious MIME Utility Library"
 arch=(i686 x86_64)
@@ -10,32 +10,28 @@
 license=(GPL)
 url="http://spruce.sourceforge.net/gmime/"
 depends=(glib2 gpgme zlib)
-makedepends=(gtk-sharp-2 gobject-introspection gtk-doc git vala docbook-utils)
-_commit=91dcee38ea301463fb9c6bc936f08b9fd1c0969f  # gmime-2-6
+makedepends=(gobject-introspection gtk-doc git vala docbook-utils)
+_commit=36649c37b163adc75a7229f799afd186edebe9bd  # master
 source=("git+https://git.gnome.org/browse/gmime#commit=$_commit")
 sha256sums=('SKIP')
 
 pkgver() {
-  cd $pkgname
+  cd gmime
   git describe --tags | sed 's/-/+/g'
 }
 
 prepare() {
-  cd $pkgname
+  cd gmime
+  git tag -f 3.0.2 36649c37b163adc75a7229f799afd186edebe9bd 
   NOCONFIGURE=1 ./autogen.sh
 }
 
 build() {
-  # get rid of that .wapi errors in fakeroot
-  export MONO_SHARED_DIR="$srcdir/weird"
-  mkdir -p "$MONO_SHARED_DIR"
+  cd gmime
 
-  cd "$pkgname"
-
   ./configure --prefix=/usr \
     --program-prefix=$pkgname \
     --enable-gtk-doc \
-    --enable-mono \
     --enable-smime \
     --disable-static
 
@@ -45,6 +41,6 @@
 }
 
 package() {
-  cd "$pkgname"
+  cd gmime
   make DESTDIR="$pkgdir" install
 }



More information about the arch-commits mailing list