summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authoraksr2018-04-17 09:41:22 +0200
committeraksr2018-04-17 09:41:22 +0200
commit619af819ce6acae4f24f88a209cabf0898c88cd6 (patch)
treedf27372ad0f05e8f05eef577b77784ca138200d4
parent2d47d91a16e8047f0bdc3438b97cd1b5e1bd93b4 (diff)
downloadaur-619af819ce6acae4f24f88a209cabf0898c88cd6.tar.gz
Fix build (thanks hero).
-rw-r--r--.SRCINFO7
-rw-r--r--PKGBUILD15
-rw-r--r--llpp.install11
3 files changed, 14 insertions, 19 deletions
diff --git a/.SRCINFO b/.SRCINFO
index 47eb80b31cf..dec5458f30d 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,11 +1,10 @@
# Generated by mksrcinfo v8
-# Wed Mar 7 09:22:27 UTC 2018
+# Tue Apr 17 07:41:17 UTC 2018
pkgbase = llpp-git
pkgdesc = A graphical PDF viewer which aims to superficially resemble less(1).
- pkgver = 26b.r102.g42faa5a
+ pkgver = 26b.r299.ge66bdc7
pkgrel = 1
url = http://repo.or.cz/w/llpp.git
- install = llpp.install
arch = i686
arch = x86_64
license = custom
@@ -13,6 +12,8 @@ pkgbase = llpp-git
makedepends = libmupdf
makedepends = mupdf>=1.7
makedepends = ocaml>=4.04
+ makedepends = asciidoc
+ makedepends = xmlto
depends = mupdf
depends = freetype2
depends = jbig2dec
diff --git a/PKGBUILD b/PKGBUILD
index 44b9565aa25..02dad572e22 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -5,9 +5,10 @@
# Contributor: Attila Toth <menta>
# Contributor: Flu
# Contributor: menta <attila dot toth at ch dot bme dot hu>
+# Contributor: hero <erdetb at web dot de>
# Maintainer: aksr <aksr at t-com dot me>
pkgname=llpp-git
-pkgver=26b.r102.g42faa5a
+pkgver=26b.r299.ge66bdc7
pkgrel=1
pkgdesc='A graphical PDF viewer which aims to superficially resemble less(1).'
arch=('i686' 'x86_64')
@@ -17,10 +18,9 @@ provides=('llpp')
conflicts=('llpp')
depends=('mupdf' 'freetype2' 'jbig2dec' 'openjpeg2'
'libgl' 'libjpeg-turbo' 'glu' 'desktop-file-utils')
-makedepends=('git' 'libmupdf' 'mupdf>=1.7' 'ocaml>=4.04')
+makedepends=('git' 'libmupdf' 'mupdf>=1.7' 'ocaml>=4.04' 'asciidoc' 'xmlto')
source=("$pkgname::git+git://repo.or.cz/llpp.git")
sha256sums=('SKIP')
-install=llpp.install
# Dictionary lookup: http://repo.or.cz/llpp.git/commit/29916e0cadcdf0ee3136fc3b4655b3c8b0d01a7b
optdepends=(
'xsel: text selection'
@@ -56,9 +56,9 @@ pkgver() {
prepare() {
cd "$srcdir/$pkgname"
- sed -i -e 's+-I \$srcdir/mupdf/include -I \$srcdir/mupdf/thirdparty/freetype/include+-I /usr/include/freetype2+' build.sh
+ sed -i -e 's+-I \$mudir/include -I \$mudir/thirdparty/freetype/include+-I /usr/include/freetype2+' build.sh
sed -i -e 's+-lmupdfthird+-lmupdfthird -lz -lfreetype -ljpeg -ljbig2dec -lopenjp2+' build.sh
- sed -i -e 's+-L\$srcdir/mupdf/build/native ++' build.sh
+ sed -i -e 's+-L\$mudir/build/native ++' build.sh
# /usr/lib/libharfbuzz.so.0: error adding symbols: DSO missing from command line
sed -i -e 's+-lmupdf+-lmupdf -lharfbuzz+' build.sh
@@ -77,6 +77,11 @@ package() {
install -Dm644 misc/llpp.desktop $pkgdir/usr/share/applications/llpp.desktop
install -Dm644 README $pkgdir/usr/share/licenses/${pkgname%-*}/LICENSE
+ # man pages
+ for f in llpp.man llppac.man llpphtml.man; do
+ install -Dm644 man/$f "$pkgdir/usr/share/man/man1/${f%.man}.1"
+ done
+
# helper scripts
cd misc/
for i in dicx dllpp llpp.inotify llppac llpphtml; do
diff --git a/llpp.install b/llpp.install
deleted file mode 100644
index be8f4f9e1a1..00000000000
--- a/llpp.install
+++ /dev/null
@@ -1,11 +0,0 @@
-post_install() {
- update-desktop-database -q
-}
-
-post_upgrade() {
- post_install
-}
-
-pre_remove() {
- post_install
-}