diff options
author | Gaetan Bisson | 2022-10-20 20:24:14 -1000 |
---|---|---|
committer | Gaetan Bisson | 2022-10-20 20:24:14 -1000 |
commit | 68bbbf15a34b03f9459759ac6714bc7380bb56af (patch) | |
tree | f551e2e023f68fe7f4568b91ee0549a04d5434cd | |
parent | dbd97d599488149c2a84d8a9c49134c1acdf3c32 (diff) | |
download | aur-68bbbf15a34b03f9459759ac6714bc7380bb56af.tar.gz |
new git release forbids file transport, use cp instead...
-rw-r--r-- | .SRCINFO | 4 | ||||
-rw-r--r-- | PKGBUILD | 16 |
2 files changed, 10 insertions, 10 deletions
@@ -1,7 +1,7 @@ pkgbase = mupdf-git pkgdesc = Lightweight PDF, XPS, and E-book viewer - pkgver = 20220811.2225118e7 - pkgrel = 2 + pkgver = 20221020.3bf416d91 + pkgrel = 1 url = https://mupdf.com/ arch = x86_64 arch = armv7h @@ -4,14 +4,16 @@ pkgname=mupdf-git _pkgname=mupdf -pkgver=20220811.2225118e7 -pkgrel=2 +pkgver=20221020.3bf416d91 +pkgrel=1 pkgdesc='Lightweight PDF, XPS, and E-book viewer' arch=('x86_64' 'armv7h' 'aarch64') url='https://mupdf.com/' license=('AGPL3') makedepends=('git' 'libxi' 'glu') depends=('libxrandr' 'harfbuzz' 'jbig2dec' 'libjpeg-turbo' 'openjpeg2' 'gumbo-parser' 'mujs') +internal=('extract' 'freeglut' 'lcms2') + source=('git://git.ghostscript.com/mupdf.git' 'git://git.ghostscript.com/thirdparty-extract.git' 'git://git.ghostscript.com/thirdparty-freeglut.git' @@ -33,12 +35,10 @@ pkgver() { prepare() { cd "${srcdir}/${_pkgname}" - sed "/extract.git/c url = $(pwd)/../thirdparty-extract" -i .gitmodules - sed "/freeglut.git/c url = $(pwd)/../thirdparty-freeglut" -i .gitmodules - sed "/lcms2.git/c url = $(pwd)/../thirdparty-lcms2" -i .gitmodules - git submodule update --init thirdparty/extract - git submodule update --init thirdparty/freeglut - git submodule update --init thirdparty/lcms2 + for lib in extract freeglut lcms2; do + rm -fr thirdparty/$lib + cp -a ../thirdparty-$lib thirdparty/$lib + done } build() { |