diff options
author | éclairevoyant | 2022-12-28 15:44:22 -0500 |
---|---|---|
committer | éclairevoyant | 2022-12-28 15:45:25 -0500 |
commit | 9abf30269e7444c8c354a6fb7888d12e63a9b048 (patch) | |
tree | 09a48016f80aa18faa134fd2af7f1147da3da4ec | |
parent | ea96d48c3c52cf55b7d789e83e8f5b357e38ef28 (diff) | |
download | aur-9abf30269e7444c8c354a6fb7888d12e63a9b048.tar.gz |
lensfun-git: add python-setuptools to makedepends
general cleanup
Signed-off-by: éclairevoyant <848000+eclairevoyant@users.noreply.github.com>
-rw-r--r-- | .SRCINFO | 15 | ||||
-rw-r--r-- | .gitignore | 7 | ||||
-rw-r--r-- | PKGBUILD | 46 |
3 files changed, 35 insertions, 33 deletions
@@ -1,22 +1,21 @@ pkgbase = lensfun-git - pkgdesc = Database of photographic lenses and a library that allows advanced access to the database - pkgver = 0.3.2.r2032.gad957f64 + pkgdesc = Database of photographic lenses and associated library + pkgver = 0.3.2.r2592.gec9412d2 pkgrel = 1 url = https://lensfun.github.io/ arch = i686 arch = x86_64 license = LGPL3 + makedepends = cmake makedepends = git - makedepends = python makedepends = libpng - makedepends = cmake + makedepends = python-setuptools depends = glibc depends = glib2 optdepends = python: for lensfun-update-data and lensfun-add-adapter - provides = lensfun=0.3.0 + provides = lensfun=0.3.2 conflicts = lensfun - source = lensfun::git+https://github.com/lensfun/lensfun.git - sha256sums = SKIP + source = git+https://github.com/lensfun/lensfun.git + b2sums = SKIP pkgname = lensfun-git - diff --git a/.gitignore b/.gitignore index 08d23076f030..05c6d4d4c97b 100644 --- a/.gitignore +++ b/.gitignore @@ -1,3 +1,4 @@ -pkg -src -lensfun* +* +!.gitignore +!.SRCINFO +!PKGBUILD @@ -1,36 +1,38 @@ -# Maintainer: Hyacinthe Cartiaux <hyacinthe.cartiaux@free.fr> -# Contributor: zhuqin <zhuqin83@gmail.com> -pkgname=lensfun-git -_gitname=lensfun -pkgver=0.3.2.r2032.gad957f64 +# Maintainer: éclairevoyant +# Contributor: Hyacinthe Cartiaux <hyacinthe.cartiaux at free dot fr> +# Contributor: zhuqin <zhuqin83 at gmail dot com> + +_pkgname=lensfun +pkgname="$_pkgname-git" +pkgver=0.3.2.r2592.gec9412d2 pkgrel=1 -pkgdesc="Database of photographic lenses and a library that allows advanced access to the database" -arch=(i686 x86_64) +pkgdesc='Database of photographic lenses and associated library' +arch=('i686' 'x86_64') url="https://lensfun.github.io/" license=('LGPL3') depends=('glibc' 'glib2') -makedepends=('git' 'python' 'libpng' 'cmake') +makedepends=('cmake' 'git' 'libpng' 'python-setuptools') optdepends=('python: for lensfun-update-data and lensfun-add-adapter') -provides=('lensfun=0.3.0') -conflicts=('lensfun') -source=("lensfun::git+https://github.com/lensfun/lensfun.git") -sha256sums=('SKIP') +provides=("$_pkgname=0.3.2") +conflicts=("$_pkgname") +source=("git+https://github.com/lensfun/$_pkgname.git") +b2sums=('SKIP') pkgver() { - cd $_gitname - git describe --long | sed -r 's/^v//;s/([^-]*-g)/r\1/;s/-/./g' + cd $_pkgname + git describe --long | sed -r 's/^v//;s/([^-]*-g)/r\1/;s/-/./g' } build() { - cd $_gitname - cmake -DCMAKE_INSTALL_PREFIX=/usr \ - -DCMAKE_INSTALL_LIBDIR=lib \ - -DCMAKE_BUILD_TYPE=Release \ - . - make + cd $_pkgname + cmake -DCMAKE_INSTALL_PREFIX=/usr \ + -DCMAKE_INSTALL_LIBDIR=lib \ + -DCMAKE_BUILD_TYPE=Release \ + . + make } package() { - cd $_gitname - make DESTDIR="$pkgdir/" install + cd $_pkgname + make DESTDIR="$pkgdir/" install } |