blob: aeacceaa3d999cb9a7e29f9e924113336a2382ef (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
|
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=gpicview
pkgver=0.2.4
pkgrel=0
pkgdesc="Picture viewer of the LXDE Desktop"
url="http://wiki.lxde.org/en/GPicView"
arch="all"
license="GPL2"
depends=
subpackages="$pkgname-lang"
makedepends="gtk+-dev intltool libjpeg-turbo-dev"
source="http://downloads.sourceforge.net/project/lxde/GPicView%20%28image%20Viewer%29/GpicView%20$pkgver/gpicview-$pkgver.tar.gz"
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="b209e36531f89c48e3067b389699d4c7 gpicview-0.2.4.tar.gz"
sha256sums="99beb7df6765b386cd3f65b3ff77e9a25027a009db432f02bd60be8558f06ceb gpicview-0.2.4.tar.gz"
sha512sums="60aeae5100ceafc5131cf61d600be5e5fd21c7d0fa62b8124b6f5bc917666b80908ba9e540010867c6d3eab485d9735dfa72f16095be468a718c55eeb65cef34 gpicview-0.2.4.tar.gz"
|