summarylogtreecommitdiffstats
path: root/PKGBUILD
diff options
context:
space:
mode:
authorvaloq2017-10-30 18:45:42 +0100
committervaloq2017-10-30 18:45:42 +0100
commite4568532c5d76f3a34079ae237ae1b64d88ed7e8 (patch)
tree3a78f8510739aa1ca8f9a6aa81a3cfbe975bd4ee /PKGBUILD
parent785c7856bb23434b6976297afbd910ccdbaaa5c4 (diff)
downloadaur-zathura-seccomp.tar.gz
fixed build issue
Diffstat (limited to 'PKGBUILD')
-rw-r--r--PKGBUILD7
1 files changed, 5 insertions, 2 deletions
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"
}