aboutsummaryrefslogblamecommitdiffstats
path: root/unmaintained/zathura/APKBUILD
blob: 33733e72d25b77962149c87f29c7017efdbf26d6 (plain) (tree)
1
2
3
4
5
6
7
8
                                                              


                                              
            

                                                
                                        



              
                                                      

                                                     

                                                                           






                                   
                                                                        











                                                  

 





                                                                                                                                                                  
# Contributor: Sören Tempel <soeren+alpine@soeren-tempel.net>
# Contributor: Andrew Hills <ahills@ednos.net>
# Maintainer: Andrew Hills <ahills@ednos.net>
pkgname=zathura
pkgver=0.3.4
pkgrel=0
pkgdesc="Document viewer with Vim-like controls"
url="https://pwmt.org/projects/$pkgname"
arch="all"
license="zlib"
depends=""
depends_dev=""
makedepends="girara-dev gtk+3.0-dev glib-dev file-dev"
install=""
subpackages="$pkgname-dev $pkgname-doc $pkgname-lang"
source="https://pwmt.org/projects/$pkgname/download/$pkgname-$pkgver.tar.gz
	without-synctex.patch"

_builddir="$srcdir"/zathura-$pkgver
prepare() {
	local i
	cd "$_builddir"
	for i in $source; do
		case $i in
		*.patch) msg $i; patch -p0 -i "$srcdir"/$i || return 1;;
		esac
	done
}

build() {
	cd "$_builddir"
	make || return 1
}

package() {
	cd "$_builddir"
	make DESTDIR="$pkgdir" install || return 1
}

md5sums="64a19c0a78d06e3a8c2098911d59b072  zathura-0.3.4.tar.gz
cf64a40358d705cee2d8174498d56e9f  without-synctex.patch"
sha256sums="52c4a3efc5843ce7c720ea7357667699363c809fd34ada4cb350d0e1031d0234  zathura-0.3.4.tar.gz
e6cb2e825c584a82283a580fdd77428e91321f46d929eff42979e858eb9eac81  without-synctex.patch"
sha512sums="663a24574838fe6531bf588ec97ed54f3bf3601c6ed11bbcd38347e8fa1876c4cfa964ab7bba70f8afd40dd9d984315b0966546394c0efac00c6fbd9967b77a2  zathura-0.3.4.tar.gz
e750c8b2d7de3fdfe8275fe3c625bce6d3d9c12a956d0ea56a0af6848ecdd8cd903ba363fcff829024adc493b8c4f4b271f9f1d6dee52a3b14405df9b42b0ee0  without-synctex.patch"