diff options
author | vlad | 2016-01-02 12:09:29 +0200 |
---|---|---|
committer | vlad | 2016-01-02 12:09:29 +0200 |
commit | c6035e41b50f1e766abf20875fb9a43273121f89 (patch) | |
tree | a46e164cfe023f6aa94dcaf24e4b0a1d5ede26f1 | |
parent | 583a6b4b240923c7ee64e09256ba6c287c71d61a (diff) | |
download | aur-c6035e41b50f1e766abf20875fb9a43273121f89.tar.gz |
update to 1.9.96
-rw-r--r-- | .SRCINFO | 12 | ||||
-rw-r--r-- | PKGBUILD | 18 | ||||
-rw-r--r-- | mega.nz.patch | 17 |
3 files changed, 10 insertions, 37 deletions
@@ -1,7 +1,9 @@ +# Generated by mksrcinfo v8 +# Sat Jan 2 10:09:11 UTC 2016 pkgbase = megatools pkgdesc = Command line client application for Mega.co.nz - pkgver = 1.9.95 - pkgrel = 3 + pkgver = 1.9.96 + pkgrel = 1 url = http://megatools.megous.com arch = i686 arch = x86_64 @@ -12,10 +14,8 @@ pkgbase = megatools depends = fuse optdepends = gobject-introspection: Bindings support for JavaScript options = !libtool - source = mega.nz.patch - source = http://megatools.megous.com/builds/megatools-1.9.95.tar.gz - md5sums = 6cfbc84ff6fb8351838bc7ab682f8a12 - md5sums = 93c7762196af8ed90920084df03210fb + source = http://megatools.megous.com/builds/megatools-1.9.96.tar.gz + md5sums = 6407d65fb526715672a1912c23b17607 pkgname = megatools @@ -1,8 +1,8 @@ # Maintainer: Ondrej Jirman <megous@megous.com> pkgname=megatools -pkgver=1.9.95 -pkgrel=3 +pkgver=1.9.96 +pkgrel=1 pkgdesc="Command line client application for Mega.co.nz" arch=('i686' 'x86_64') url="http://megatools.megous.com" @@ -10,19 +10,9 @@ license=('GPL') depends=('curl' 'glib-networking' 'fuse') makedepends=('gobject-introspection') optdepends=('gobject-introspection: Bindings support for JavaScript') -source=(mega.nz.patch - "http://megatools.megous.com/builds/megatools-${pkgver}.tar.gz") +source=("http://megatools.megous.com/builds/megatools-${pkgver}.tar.gz") options=(!libtool) -md5sums=('6cfbc84ff6fb8351838bc7ab682f8a12' - '93c7762196af8ed90920084df03210fb') - -prepare() { - cd "megatools-${pkgver}" - - # Mega.nz support - # https://github.com/megous/megatools/commit/9da13bb - patch -Np1 -i ../mega.nz.patch -} +md5sums=('6407d65fb526715672a1912c23b17607') build() { cd "megatools-${pkgver}" diff --git a/mega.nz.patch b/mega.nz.patch deleted file mode 100644 index 9e98190bb5e4..000000000000 --- a/mega.nz.patch +++ /dev/null @@ -1,17 +0,0 @@ -diff --git a/tools/dl.c b/tools/dl.c -index 0f3771d..30b6465 100644 ---- a/tools/dl.c -+++ b/tools/dl.c -@@ -179,10 +179,10 @@ int main(int ac, char* av[]) - - // prepare link parsers - -- file_regex = g_regex_new("^https?://mega.co.nz/#!([a-z0-9_-]{8})!([a-z0-9_-]{43})$", G_REGEX_CASELESS, 0, NULL); -+ file_regex = g_regex_new("^https?://mega(?:\\.co)?\\.nz/#!([a-z0-9_-]{8})!([a-z0-9_-]{43})$", G_REGEX_CASELESS, 0, NULL); - g_assert(file_regex != NULL); - -- folder_regex = g_regex_new("^https?://mega.co.nz/#F!([a-z0-9_-]{8})!([a-z0-9_-]{22})$", G_REGEX_CASELESS, 0, NULL); -+ folder_regex = g_regex_new("^https?://mega(?:\\.co)?\\.nz/#F!([a-z0-9_-]{8})!([a-z0-9_-]{22})$", G_REGEX_CASELESS, 0, NULL); - g_assert(folder_regex != NULL); - - // create session |