aboutsummaryrefslogtreecommitdiffstats
path: root/testing/fotoxx/APKBUILD
blob: e5ee47eae5b531476cce88c9041969a8f43ff673 (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
# Contributor: Natanael Copa <ncopa@alpinelinux.org>
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=fotoxx
pkgver=12.08
pkgrel=0
pkgdesc="Photo editing and collection management"
url="http://kornelix.squarespace.com/fotoxx"
arch="all"
license="GPL-3"
depends="xdg-utils exiftool"
makedepends="gtk+3.0-dev tiff-dev"
install=
subpackages="$pkgname-doc"
source="http://www.kornelix.com/uploads/1/3/0/3/13035936/fotoxx-$pkgver.tar.gz
	no-xdg-desktop-menu.patch"

_builddir="$srcdir"/$pkgname-$pkgver

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

build() {
	cd "$_builddir"
	make PREFIX=/usr LDFLAGS="$LFDLAGS" CXXFLAGS="$CFLAGS" || return 1
}

package() {
	cd "$_builddir"
	make PREFIX=/usr DESTDIR="$pkgdir" install
}

md5sums="b4b2ae2395223487df8f435789fbc60a  fotoxx-12.08.tar.gz
8c988a8ced48cfe3a5a49be4a705b045  no-xdg-desktop-menu.patch"