Commit 0934842d authored by Natanael Copa's avatar Natanael Copa

Revert "testing/zathura: Add check(), remove returns"

build fails with:
 [CC] build/release/bin/tests
 (tests:8142): Gtk-WARNING **: cannot open display:
 make[1]: *** [Makefile:70: run] Error 1

This reverts commit 911daf20.
parent e46952da
......@@ -4,32 +4,27 @@
# Maintainer: Jean-Louis Fuchs <ganwell@fangorn.ch>
pkgname=zathura
pkgver=0.3.7
pkgrel=1
pkgrel=0
pkgdesc="zathura - highly customizable and functional document viewer"
url="https://pwmt.org/projects/zathura/"
arch="all"
license="zlib"
depends="libmagic"
# mesa-dri-swrast, dbus for tests only
makedepends="girara-dev file-dev sqlite-dev intltool check-dev py-docutils
ncurses mesa-dri-swrast dbus"
ncurses"
subpackages="$pkgname-doc $pkgname-dev $pkgname-lang"
source="https://pwmt.org/projects/zathura/download/zathura-$pkgver.tar.gz"
builddir="$srcdir/$pkgname-$pkgver"
_builddir="$srcdir"/$pkgname-$pkgver
build() {
make -C "$builddir"
make -C "$builddir/doc"
make -C "$_builddir" || return 1
make -C "$_builddir/doc" || return 1
}
package() {
make PREFIX=/usr DESTDIR="$pkgdir" \
-C "$builddir" install
}
check() {
make -C "$builddir" test
-C "$_builddir" install || return 1
}
sha512sums="830a1b88820507a40a20b046c504d8ab3022a35c2c4c0d93a67f77ab5e31d746362a6f28fb9786a647cd0bfd943306aca74cbb2092774aedfb52380e713df533 zathura-0.3.7.tar.gz"
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment