Date: Sunday, February 5, 2023 @ 21:48:57
  Author: heftig
Revision: 468246

1.3.0-6: FS#77355 fix deps

Modified:
  libimobiledevice/trunk/PKGBUILD

----------+
 PKGBUILD |   37 ++++++++++++++++++++++++++-----------
 1 file changed, 26 insertions(+), 11 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD    2023-02-05 21:39:21 UTC (rev 468245)
+++ PKGBUILD    2023-02-05 21:48:57 UTC (rev 468246)
@@ -4,33 +4,48 @@
 
 pkgname=libimobiledevice
 pkgver=1.3.0
-pkgrel=5
+pkgrel=6
 pkgdesc="Library that talks the protocols to support iPhone and iPod Touch 
devices on Linux"
 url="https://libimobiledevice.org/";
-arch=('x86_64')
-license=('GPL2' 'LGPL2.1')
-depends=('libusbmuxd' 'usbmuxd' 'gnutls')
-makedepends=('python' 'cython' 'libplist' 'autoconf-archive'
-             'git' 'python-setuptools')
+arch=(x86_64)
+license=(GPL2 LGPL2.1)
+depends=(
+  gnutls
+  libgcrypt
+  libplist
+  libtasn1
+  libusbmuxd
+)
+makedepends=(
+  autoconf-archive
+  cython
+  git
+  python
+  python-setuptools
+)
+provides=(libimobiledevice-1.0.so)
 _commit=15f8652126664e3a4b980e5d1c039b9053ce8566
 
source=("git+https://github.com/libimobiledevice/libimobiledevice#commit=$_commit";)
-sha256sums=('SKIP')
+b2sums=('SKIP')
 
 pkgver() {
   cd $pkgname
-  git describe --tags | sed 's/-/+/g'
+  git describe --tags | sed 's/[^-]*-g/r&/;s/-/+/g'
 }
 
 prepare() {
   cd $pkgname
+
   # Update ac_python_devel.m4 to newer ax_python_devel.m4
   git cherry-pick -n eea4f1be91
+
   NOCONFIGURE=1 ./autogen.sh
 }
 
 build() (
   cd $pkgname
-  ./configure --prefix=/usr --disable-openssl
+  ./configure --prefix=/usr --sysconfdir=/etc --localstatedir=/var \
+    --disable-openssl
   sed -i -e 's/ -shared / -Wl,-O1,--as-needed\0/g' libtool
   make
 )
@@ -42,7 +57,7 @@
 
 package() {
   cd $pkgname
-  DESTDIR="$pkgdir" make install
+  make DESTDIR="$pkgdir" install
 }
 
-# vim:set sw=2 et:
+# vim:set sw=2 sts=-1 et:

Reply via email to