From 975467598a8ef8df41e4bc4ad87c9c8634b2b893 Mon Sep 17 00:00:00 2001
From: Boris Kraut <krt@nurfuerspam.de>
Date: Sun, 24 Jan 2016 01:02:42 +0100
Subject: [PATCH] Update NasaPic to 3.1.1 (11)

---
 metadata/br.com.dgimenes.nasapic.txt | 8 ++++++++
 1 file changed, 8 insertions(+)

diff --git a/metadata/br.com.dgimenes.nasapic.txt b/metadata/br.com.dgimenes.nasapic.txt
index e5e8e2aeb8..964b857b70 100644
--- a/metadata/br.com.dgimenes.nasapic.txt
+++ b/metadata/br.com.dgimenes.nasapic.txt
@@ -39,6 +39,14 @@ Build:3.0,9
     subdir=app
     gradle=yes
 
+Build:3.1.1,11
+    commit=47247749ab7ab46c8355c50d1d1a17b68c8af6e7
+    subdir=app
+    gradle=yes
+    prebuild=sed -i -e '1,/android {/d' build.gradle && \
+        sed -i -e "1iapply plugin: 'com.android.application'\n\nandroid {\n\n" -e '/crashlytics/,+2d' build.gradle && \
+        sed -i -e '/Crashlytics/d' -e '/import io.fabric.sdk.android.Fabric/d' src/main/java/br/com/dgimenes/nasapic/control/activity/MainActivity.java
+
 Maintainer Notes:
 2.5 doesn't work, so keep in archive until we can build a version that currently works.
 .