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 /PKGBUILD | |
parent | 2edc9458af96762a92f9f08ebb49b261f292cca0 (diff) | |
download | aur-1be72ec992b3f5847f74930d57943cb4f26429b1.tar.gz |
commit gimp-lensfun 0.2.4+9+gc5eaf97-1
Diffstat (limited to 'PKGBUILD')
-rw-r--r-- | PKGBUILD | 34 |
1 files changed, 21 insertions, 13 deletions
@@ -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 } |