[arch-commits] Commit in dex/trunk (PKGBUILD fix-dex-version.patch)

Johannes Löthberg demize at archlinux.org
Mon Jun 19 00:49:07 UTC 2017


    Date: Monday, June 19, 2017 @ 00:49:07
  Author: demize
Revision: 238115

Add version patch to dex 0.8.0

Added:
  dex/trunk/fix-dex-version.patch
Modified:
  dex/trunk/PKGBUILD

-----------------------+
 PKGBUILD              |   11 +++++++++--
 fix-dex-version.patch |   11 +++++++++++
 2 files changed, 20 insertions(+), 2 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2017-06-19 00:48:38 UTC (rev 238114)
+++ PKGBUILD	2017-06-19 00:49:07 UTC (rev 238115)
@@ -13,10 +13,17 @@
 depends=('python')
 makedepends=('git' 'python-sphinx')
 
-source=("git+https://github.com/jceb/dex.git#tag=v$pkgver")
+source=("git+https://github.com/jceb/dex.git#tag=v$pkgver"
+        fix-dex-version.patch)
 
-md5sums=('SKIP')
+md5sums=('SKIP'
+         'e00a4c7189bc6f097f510af4bd689998')
 
+prepare() {
+  cd dex
+  patch dex <"$srcdir"/fix-dex-version.patch
+}
+
 package() {
   cd dex
   make install PREFIX=/usr MANPREFIX=/usr/share/man DESTDIR="$pkgdir"

Added: fix-dex-version.patch
===================================================================
--- fix-dex-version.patch	                        (rev 0)
+++ fix-dex-version.patch	2017-06-19 00:49:07 UTC (rev 238115)
@@ -0,0 +1,11 @@
+--- /usr/bin/dex	2017-06-19 02:43:55.415177617 +0200
++++ dex.new	2017-06-19 02:46:55.251836314 +0200
+@@ -35,7 +35,7 @@
+ import subprocess
+ import sys
+ 
+-__version__ = "0.7"
++__version__ = "0.8.0"
+ 
+ 
+ # DesktopEntry exceptions



More information about the arch-commits mailing list