summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorvaloq2017-10-30 18:45:42 +0100
committervaloq2017-10-30 18:45:42 +0100
commite4568532c5d76f3a34079ae237ae1b64d88ed7e8 (patch)
tree3a78f8510739aa1ca8f9a6aa81a3cfbe975bd4ee
parent785c7856bb23434b6976297afbd910ccdbaaa5c4 (diff)
downloadaur-zathura-seccomp.tar.gz
fixed build issue
-rw-r--r--.SRCINFO3
-rw-r--r--PKGBUILD7
2 files changed, 7 insertions, 3 deletions
diff --git a/.SRCINFO b/.SRCINFO
index cfbf07496e7..c8d7436fbd1 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,5 +1,5 @@
pkgbase = zathura-seccomp
- pkgdesc = Minimalistic document viewer
+ pkgdesc = Sandboxed zathura document viewer with seccomp filter
pkgver = 0.3.7
pkgrel = 1
url = http://pwmt.org/projects/zathura/
@@ -18,6 +18,7 @@ pkgbase = zathura-seccomp
optdepends = zathura-pdf-mupdf: PDF support using MuPDF
optdepends = zathura-ps: PostScript support
optdepends = zathura-cb: Comic book support
+ provides = zathura
conflicts = zathura
source = https://pwmt.org/projects/zathura/download/zathura-0.3.7.tar.gz
source = bash-completion
diff --git a/PKGBUILD b/PKGBUILD
index bb4a602e21c..fa9c00ceb19 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -8,7 +8,6 @@ pkgdesc="Sandboxed zathura document viewer with seccomp filter"
url="http://pwmt.org/projects/zathura/"
arch=('i686' 'x86_64')
license=('custom')
-conflicts=(zathura)
makedepends=('python2-docutils' 'texlive-bin')
depends=('girara>=0.2.7' 'sqlite' 'desktop-file-utils' 'file' 'libsynctex')
@@ -17,16 +16,20 @@ optdepends=('zathura-djvu: DjVu support'
'zathura-pdf-mupdf: PDF support using MuPDF'
'zathura-ps: PostScript support'
'zathura-cb: Comic book support')
+conflicts=('zathura')
+provides=('zathura')
source=(https://pwmt.org/projects/zathura/download/zathura-$pkgver.tar.gz
bash-completion
- seccomp.patch)
+ seccomp.patch)
sha1sums=('51935ae1781712b9dc8baed7698c2fa900bcf4fa'
'94a8236c483626a7f3acee053a1ea885aed45a82'
'8be49c0cf039e6305b096512927fce20c4a4649d')
prepare() {
+ cd zathura-${pkgver/}
+
# apply seccomp patch
patch -Np1 < "${srcdir}/seccomp.patch"
}