diff options
author | Christian Hesse | 2020-10-07 10:12:47 +0200 |
---|---|---|
committer | Christian Hesse | 2020-10-07 10:12:47 +0200 |
commit | 1be72ec992b3f5847f74930d57943cb4f26429b1 (patch) | |
tree | 67defd21817a1feb65514cf2091d25a56aa2721e | |
parent | 2edc9458af96762a92f9f08ebb49b261f292cca0 (diff) | |
download | aur-gimp-lensfun.tar.gz |
commit gimp-lensfun 0.2.4+9+gc5eaf97-1
-rw-r--r-- | .SRCINFO | 11 | ||||
-rw-r--r-- | PKGBUILD | 34 |
2 files changed, 26 insertions, 19 deletions
@@ -1,18 +1,17 @@ -# Generated by mksrcinfo v8 -# Tue May 24 21:47:26 UTC 2016 pkgbase = gimp-lensfun - pkgdesc = A Gimp plugin to correct lens distortion using the lensfun library and database. - pkgver = 0.2.4 + pkgdesc = A Gimp plugin to correct lens distortion using the lensfun library and database + pkgver = 0.2.4+9+gc5eaf97 pkgrel = 1 url = http://seebk.github.io/GIMP-Lensfun/ arch = i686 arch = x86_64 license = GPL + makedepends = git depends = gimp depends = lensfun depends = exiv2 - source = gimp-lensfun-0.2.4.tar.gz::https://github.com/seebk/GIMP-Lensfun/archive/0.2.4.tar.gz - sha256sums = 7a4e6dade910952cdb9afc62f34e286d230dd73c3a1630415c106b5260eb94de + source = git+https://github.com/seebk/GIMP-Lensfun.git?commit=1c5a5c1534b5faf098b7441f8840d22835592f17 + sha256sums = SKIP pkgname = gimp-lensfun @@ -1,30 +1,38 @@ # Maintainer: Christian Hesse <mail@eworm.de> pkgname=gimp-lensfun -pkgver=0.2.4 +# commit from gimp-2.10 branch +_commit='1c5a5c1534b5faf098b7441f8840d22835592f17' +pkgver=0.2.4+9+gc5eaf97 pkgrel=1 -pkgdesc="A Gimp plugin to correct lens distortion using the lensfun library and database." +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/" +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') +makedepends=('git') +source=("git+https://github.com/seebk/GIMP-Lensfun.git?commit=${_commit}") +sha256sums=('SKIP') + +pkgver() { + cd ${srcdir}/GIMP-Lensfun + + git describe --tags | sed 's/-/+/g' +} build() { - cd ${srcdir}/GIMP-Lensfun-${pkgver} + cd ${srcdir}/GIMP-Lensfun - make + make } package() { - cd ${srcdir}/GIMP-Lensfun-${pkgver} + cd ${srcdir}/GIMP-Lensfun - install -D -m0755 gimp-lensfun ${pkgdir}/usr/lib/gimp/2.0/plug-ins/gimp-lensfun + 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 + 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 } |