aboutsummaryrefslogblamecommitdiffstats
path: root/community/feh/APKBUILD
blob: 6d6211305bc79a6e9c8bcbd0716b08fe97161f10 (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.7.1
pkgrel=0
pkgdesc="Fast, lightweight image viewer which uses imlib2"
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 perl-test-command"
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="
7e6d4c4ccee5a0aadc0b535350da4d515ba7f75bbd5e95eb6a6e5e553a352f764bd91e39d3a59168d749bcf1528a7db75f40016885273c0bedd814eef0a0acd7  feh-3.7.1.tar.bz2
"