aboutsummaryrefslogblamecommitdiffstats
path: root/community/feh/APKBUILD
blob: 18aa3c9830cde5e23a30f7797a067b4ca9edf5ae (plain) (tree)
1
2
3
4
5
6
7
8
9
                                             

                                                   
            
        
                                                          
                                                          
                                 
          
                 
                          
                                                             
                                  
                         
                                                        
 
         
                        

 



                 
           




                                                                       
                       
 
 
                                                                                                                                                                
# Contributor: Leo <thinkabit.ukim@gmail.com>
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=feh
pkgver=3.6.3
pkgrel=0
pkgdesc="Fast, lightweight image viewer which uses imlib2"
options="!check" # Requires unpackaged 'perl-test-command'
url="https://feh.finalrewind.org"
arch="all"
license="MIT-feh"
subpackages="$pkgname-doc"
makedepends="curl-dev imlib2-dev libjpeg-turbo-dev libpng-dev
	libxinerama-dev libxt-dev"
checkdepends="perl-utils"
source="https://feh.finalrewind.org/feh-$pkgver.tar.bz2"

build() {
	make PREFIX=/usr
}

check() {
	make test
}

package() {
	make PREFIX=/usr DESTDIR="$pkgdir" \
		bin_dir="$pkgdir"/usr/bin \
		man_dir="$pkgdir"/usr/share/man \
		doc_dir="$pkgdir"/usr/share/doc/$pkgname \
		example_dir="$pkgdir"/usr/share/doc/$pkgname/examples \
		install
}

sha512sums="53e9e1903f256fee9d49af2f8ce4bf153317e7d5de6b396448f16fd54ae1a13217edb44566cd0433e25675a25175cc412a726f058856136f19629661e2f62ce2  feh-3.6.3.tar.bz2"