summaryrefslogtreecommitdiffstats
path: root/main/ristretto/APKBUILD
blob: 9d2aa6da81f04abbbb944195ea53515648f56b30 (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
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=ristretto
pkgver=0.0.91
pkgrel=0
pkgdesc="Ristretto is a image viewer for Xfce"
url="http://goodies.xfce.org/projects/applications/ristretto"
arch="x86 x86_64"
license="GPL-2"
depends="desktop-file-utils hicolor-icon-theme"
makedepends="pkgconfig libxfcegui4-dev dbus-glib-dev libexif-dev intltool
	gettext-dev libiconv-dev thunar-dev"
install=
source="http://archive.xfce.org/src/apps/ristretto/0.0/ristretto-$pkgver.tar.bz2"

build() {
	cd "$srcdir"/$pkgname-$pkgver
	./configure --prefix=/usr \
		--sysconfdir=/etc \
		--localstatedir=/var \
		--enable-xfce-desktop \
		--disable-static || return 1
	make
}

package() {
	cd "$srcdir"/$pkgname-$pkgver
	make DESTDIR="$pkgdir" install || return 1
}
md5sums="1df541b920f044ac9f3731b2a0fe02d1  ristretto-0.0.91.tar.bz2"