aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorpsykose <alice@ayaya.dev>2022-04-15 18:39:48 +0000
committerpsykose <alice@ayaya.dev>2022-04-15 20:39:48 +0200
commite678669819c6b03fd2961768b199867f7d2946bb (patch)
treebc838dca9d213e6474f64b53ab8a24aaad22d8d5
parent6ed058978e2875b47a16400e5fd44bd280af6814 (diff)
downloadaports-e678669819c6b03fd2961768b199867f7d2946bb.tar.gz
aports-e678669819c6b03fd2961768b199867f7d2946bb.tar.bz2
aports-e678669819c6b03fd2961768b199867f7d2946bb.tar.xz
community/lensfun: split -tools instead of -libs
the parent package also has lens camera data that is wanted by packages, so keep the libs there
-rw-r--r--community/lensfun/APKBUILD11
1 files changed, 5 insertions, 6 deletions
diff --git a/community/lensfun/APKBUILD b/community/lensfun/APKBUILD
index e474fabec6..d8bf4cc271 100644
--- a/community/lensfun/APKBUILD
+++ b/community/lensfun/APKBUILD
@@ -2,13 +2,13 @@
# Maintainer: ScrumpyJack <scrumpyjack@st.ilet.to>
pkgname=lensfun
pkgver=0.3.3
-pkgrel=0
+pkgrel=1
pkgdesc="Image manipulation library to rectify lens defects"
url="https://lensfun.github.io/"
arch="all"
license="LGPL-3.0-or-later"
makedepends="py3-docutils cmake doxygen libpng-dev glib-dev samurai"
-subpackages="$pkgname-dev $pkgname-doc $pkgname-libs py3-$pkgname:py3"
+subpackages="$pkgname-dev $pkgname-doc $pkgname-tools py3-$pkgname:py3"
source="pgkname-$pkgver.tar.gz::https://github.com/lensfun/lensfun/archive/refs/tags/v$pkgver.tar.gz"
build() {
@@ -39,10 +39,9 @@ package() {
DESTDIR="$pkgdir" cmake --install build
}
-libs() {
- pkgdesc="$pkgdesc (libs)"
- mkdir -p "$subpkgdir"/usr/lib
- mv "$pkgdir"/usr/lib/liblensfun.so* "$subpkgdir"/usr/lib
+tools() {
+ pkgdesc="$pkgdesc (extra tools)"
+ amove usr/bin
}
py3() {