aboutsummaryrefslogblamecommitdiffstats
path: root/main/gpicview/APKBUILD
blob: 918ae3b3c52873c5346ecc2331d2618cee30ec00 (plain) (tree)
1
2
3
4
5
6
7
8
9

                                                   
            
        
                                            
                                       
          
                 
        
                           
                                                 

                                                                                                                                
 






                                                                        
 


                                     





                                   






                                                  


                                                                                                                                                                    
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=gpicview
pkgver=0.2.5
pkgrel=0
pkgdesc="Picture viewer of the LXDE Desktop"
url="https://wiki.lxde.org/en/GPicView"
arch="all"
license="GPL-2.0"
depends=
subpackages="$pkgname-lang"
makedepends="gtk+-dev intltool libjpeg-turbo-dev"
source="https://downloads.sourceforge.net/project/lxde/GPicView%20%28image%20Viewer%29/${pkgver%.*}.x/gpicview-$pkgver.tar.gz"
source="https://downloads.sourceforge.net/project/lxde/GPicView%20%28image%20Viewer%29/${pkgver%.*}.x/gpicview-${pkgver}.tar.xz"

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

build() {
	cd "$srcdir/$pkgname-$pkgver"
	./configure \
		--build=$CBUILD \
		--host=$CHOST \
		--sysconfdir=/etc \
		--prefix=/usr \
		|| return 1
	make || return 1
}

package() {
	cd "$srcdir/$pkgname-$pkgver"
	make DESTDIR="$pkgdir" install || return 1
}
md5sums="26be9b0c5a234f1afe7d83d02a4a33f4  gpicview-0.2.5.tar.xz"
sha256sums="38466058e53702450e5899193c4b264339959b563dd5cd81f6f690de32d82942  gpicview-0.2.5.tar.xz"
sha512sums="afc7e67c7ae1252f9c1816ee46fe69e96ea7be9a60e03406a539f17b2e4f0e4b93a028c6f3f1c455f5433d6d7d78a58dcee2cb0ac91ea53093a21935bf454afd  gpicview-0.2.5.tar.xz"