summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 5ce730e57984b8cec45c03fd6de705ab40674f42 (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
# Maintainer: Christian Hesse <mail@eworm.de>

pkgname=gimp-lensfun
pkgver=0.2.4
pkgrel=1
pkgdesc="A Gimp plugin to correct lens distortion using the lensfun library and database."
arch=('i686' 'x86_64')
url="http://seebk.github.io/GIMP-Lensfun/"
license=('GPL')
depends=('gimp' 'lensfun' 'exiv2')
source=("https://github.com/seebk/GIMP-Lensfun/releases/download/${pkgver}/gimplensfun-${pkgver}.tar.gz")
source=("${pkgname}-${pkgver}.tar.gz::https://github.com/seebk/GIMP-Lensfun/archive/${pkgver}.tar.gz")
sha256sums=('7a4e6dade910952cdb9afc62f34e286d230dd73c3a1630415c106b5260eb94de')

build() {
	cd ${srcdir}/GIMP-Lensfun-${pkgver}

	make
}

package() {
	cd ${srcdir}/GIMP-Lensfun-${pkgver}

	install -D -m0755 gimp-lensfun ${pkgdir}/usr/lib/gimp/2.0/plug-ins/gimp-lensfun

	install -D -m0644 CHANGES.txt ${pkgdir}/usr/share/doc/gimp-lensfun/CHANGES.txt
	install -D -m0644 LICENSE.txt ${pkgdir}/usr/share/doc/gimp-lensfun/LICENSE.txt
	install -D -m0644 README.txt ${pkgdir}/usr/share/doc/gimp-lensfun/README.txt
}