summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorMoritz Lipp2020-03-27 18:45:57 +0100
committerMoritz Lipp2020-03-27 18:45:57 +0100
commitd19e4222221c8f269f5d3ec8d1c10b3acee23a06 (patch)
tree2f5106e6d5c5b94413873fbd511c6d5da50a5cb2
parenta9a9eec9b57f745778fc2a13b73507d78d5f226f (diff)
downloadaur-d19e4222221c8f269f5d3ec8d1c10b3acee23a06.tar.gz
Update
-rw-r--r--.SRCINFO6
-rw-r--r--PKGBUILD28
2 files changed, 24 insertions, 10 deletions
diff --git a/.SRCINFO b/.SRCINFO
index 26f15b24a47..5a59569d174 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,12 +1,16 @@
pkgbase = zathura-djvu-git
pkgdesc = DjVu support for zathura
- pkgver = 0.2.2.3.gf64f3ff
+ pkgver = 0.2.9.2.g12ef085
pkgrel = 1
url = http://pwmt.org/projects/zathura/plugins/zathura-djvu
arch = i686
arch = x86_64
license = custom
+ checkdepends = check
makedepends = git
+ makedepends = python-sphinx
+ makedepends = intltool
+ makedepends = meson
depends = zathura-git
depends = djvulibre
provides = zathura-djvu
diff --git a/PKGBUILD b/PKGBUILD
index 8d3e3877229..d210edf4100 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -2,33 +2,43 @@
pkgname=zathura-djvu-git
pkgrel=1
-pkgver=0.2.4.3.g9d09a48
+pkgver=0.2.9.2.g12ef085
pkgdesc="DjVu support for zathura"
arch=('i686' 'x86_64')
url="http://pwmt.org/projects/zathura/plugins/zathura-djvu"
license=('custom')
depends=('zathura-git' 'djvulibre')
-makedepends=('git')
+makedepends=('git' 'python-sphinx' 'intltool' 'meson')
+checkdepends=('check')
conflicts=('zathura-djvu')
provides=('zathura-djvu')
source=('zathura-djvu::git+https://git.pwmt.org/pwmt/zathura-djvu.git#branch=develop')
md5sums=('SKIP')
_gitname=zathura-djvu
+prepare() {
+ mkdir -p build
+}
+
build() {
- cd "$srcdir/$_gitname"
- make
+ cd build
+ meson --prefix=/usr --buildtype=release $srcdir/$_gitname
+ ninja
+}
+
+check() {
+ cd build
+ ninja test
}
package() {
- cd "$srcdir/$_gitname"
- make DESTDIR="$pkgdir/" install
- install -D -m664 LICENSE "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
+ cd build
+ DESTDIR="$pkgdir/" ninja install
}
pkgver() {
- cd "$srcdir/$_gitname"
- local ver="$(git describe --long --always)"
+ cd "$_gitname"
+ local ver="$(git describe --long)"
printf "%s" "${ver//-/.}"
}