Date: Monday, February 6, 2023 @ 09:41:21 Author: heftig Revision: 468258
2.5.30-2 Modified: libgphoto2/trunk/PKGBUILD ----------+ PKGBUILD | 24 ++++++++++++++++++------ 1 file changed, 18 insertions(+), 6 deletions(-) Modified: PKGBUILD =================================================================== --- PKGBUILD 2023-02-06 09:37:04 UTC (rev 468257) +++ PKGBUILD 2023-02-06 09:41:21 UTC (rev 468258) @@ -6,14 +6,25 @@ pkgname=libgphoto2 pkgver=2.5.30 -pkgrel=1 +pkgrel=2 pkgdesc="Digital camera access library" url="http://www.gphoto.org/" arch=(x86_64) license=(LGPL) -depends=(libexif libjpeg gd libltdl libusb libxml2 curl) -makedepends=(autoconf-archive git) -provides=(libgphoto2.so) +depends=( + curl + gd + libexif + libjpeg + libltdl + libusb + libxml2 +) +makedepends=( + autoconf-archive + git +) +provides=(libgphoto2{,_port}.so) _commit=6511898c4be52a9306f0791476561bdcebf5317d # tags/libgphoto2-2_5_30-release source=("git+https://github.com/gphoto/libgphoto2#commit=$_commit") sha256sums=('SKIP') @@ -31,7 +42,8 @@ build() { cd $pkgname - ./configure --prefix=/usr --disable-rpath + ./configure --prefix=/usr --sysconfdir=/etc --localstatedir=/var \ + --disable-rpath sed -i -e 's/ -shared / -Wl,-O1,--as-needed\0 /g' -e 's/ if test "$export_dynamic" = yes && test -n "$export_dynamic_flag_spec"; then/ func_append compile_command " -Wl,-O1,--as-needed"\n func_append finalize_command " -Wl,-O1,--as-needed"\n\0/' libtool make } @@ -58,4 +70,4 @@ | install -Dm644 /dev/stdin "$pkgdir/usr/lib/udev/rules.d/40-gphoto.rules" ) -# vim:set sw=2 et: +# vim:set sw=2 sts=-1 et:
