summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorGaetan Bisson2016-04-21 07:54:22 -1000
committerGaetan Bisson2016-04-21 07:54:22 -1000
commitfe5bbdcf8fab2310361ff9f92cb97343c8774bb1 (patch)
tree0146fe75bd680a9258b785760e2acac2a453a1f9
parent3e86fa87889a88f72d2eda542f74f9c1114017d4 (diff)
downloadaur-fe5bbdcf8fab2310361ff9f92cb97343c8774bb1.tar.gz
upstream update, install one binary, add curl dep
-rw-r--r--.SRCINFO8
-rw-r--r--PKGBUILD13
2 files changed, 11 insertions, 10 deletions
diff --git a/.SRCINFO b/.SRCINFO
index 8e018d1439f..b8fbd937c0a 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,8 +1,6 @@
-# Generated by mksrcinfo v8
-# Fri Jan 8 08:31:25 UTC 2016
pkgbase = mupdf-git
pkgdesc = Lightweight PDF, XPS and CBZ viewer
- pkgver = 20160106.1db0393
+ pkgver = 20160421.0278606
pkgrel = 1
url = http://mupdf.com/
arch = i686
@@ -10,14 +8,14 @@ pkgbase = mupdf-git
arch = armv7h
license = GPL3
makedepends = git
+ depends = curl
depends = freetype2
depends = jbig2dec
depends = libjpeg
depends = libxext
- provides = mupdf=1.7.git
+ provides = mupdf
conflicts = mupdf
options = staticlibs
- backup = usr/bin/mupdf
source = git://git.ghostscript.com/mupdf.git
source = desktop
sha1sums = SKIP
diff --git a/PKGBUILD b/PKGBUILD
index acf1e5ebb79..8a89195f623 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -4,22 +4,21 @@
pkgname=mupdf-git
_pkgname=mupdf
-pkgver=20160106.1db0393
+pkgver=20160421.0278606
pkgrel=1
pkgdesc='Lightweight PDF, XPS and CBZ viewer'
arch=('i686' 'x86_64' 'armv7h')
url='http://mupdf.com/'
license=('GPL3')
makedepends=('git')
-depends=('freetype2' 'jbig2dec' 'libjpeg' 'libxext')
+depends=('curl' 'freetype2' 'jbig2dec' 'libjpeg' 'libxext')
source=('git://git.ghostscript.com/mupdf.git'
'desktop')
sha1sums=('SKIP'
'31573e5da3fbf0162c0926511fc9858f2052fa6c')
conflicts=("${_pkgname}")
-provides=("${_pkgname}=1.7.git")
-backup=('usr/bin/mupdf')
+provides=("${_pkgname}")
options=('staticlibs')
pkgver() {
@@ -42,13 +41,17 @@ prepare() {
build() {
cd "${srcdir}/${_pkgname}"
+
make build=release prefix="${pkgdir}"/usr
}
package() {
cd "${srcdir}/${_pkgname}"
+
make build=release prefix="${pkgdir}"/usr install
+ mv "${pkgdir}"/usr/bin/mupdf-x11-curl "${pkgdir}"/usr/bin/mupdf
+ rm "${pkgdir}"/usr/bin/mupdf-x11
+
install -Dm644 ../desktop "${pkgdir}"/usr/share/applications/mupdf.desktop
find "${pkgdir}"/usr/{include,lib,share} -type f | xargs chmod 644
- ln -s mupdf-x11 "${pkgdir}"/usr/bin/mupdf
}