Balló György pushed to branch main at Arch Linux / Packaging / Packages / 
libimobiledevice-glue


Commits:
8f64e682 by Balló György at 2024-05-12T21:06:48+02:00
Switch to git source

- - - - -


2 changed files:

- .SRCINFO
- PKGBUILD


Changes:

=====================================
.SRCINFO
=====================================
@@ -5,9 +5,10 @@ pkgbase = libimobiledevice-glue
        url = https://libimobiledevice.org/
        arch = x86_64
        license = LGPL-2.1-or-later
+       makedepends = git
        depends = glibc
        depends = libplist
-       source = 
https://github.com/libimobiledevice/libimobiledevice-glue/releases/download/1.2.0/libimobiledevice-glue-1.2.0.tar.bz2
-       sha256sums = 
ff9cbc240c9780edfa43914a057b86362054053721b65fb04f54a25023b92b62
+       source = 
git+https://github.com/libimobiledevice/libimobiledevice-glue.git#tag=1.2.0
+       b2sums = 
a5c2e1a64b559eacb2ad988f4caf06fcb6b8f0ae653ea5e1738f7b41bc143e3327ef1bd3718b0364911c0b2c549b8188a66c59c81583e0392acc5e10f6e16167
 
 pkgname = libimobiledevice-glue


=====================================
PKGBUILD
=====================================
@@ -8,17 +8,23 @@ arch=('x86_64')
 url='https://libimobiledevice.org/'
 license=('LGPL-2.1-or-later')
 depends=('glibc' 'libplist')
-source=("https://github.com/libimobiledevice/$pkgname/releases/download/$pkgver/$pkgname-$pkgver.tar.bz2";)
-sha256sums=('ff9cbc240c9780edfa43914a057b86362054053721b65fb04f54a25023b92b62')
+makedepends=('git')
+source=("git+https://github.com/libimobiledevice/libimobiledevice-glue.git#tag=$pkgver";)
+b2sums=('a5c2e1a64b559eacb2ad988f4caf06fcb6b8f0ae653ea5e1738f7b41bc143e3327ef1bd3718b0364911c0b2c549b8188a66c59c81583e0392acc5e10f6e16167')
+
+prepare() {
+  cd $pkgname
+  NOCONFIGURE=1 ./autogen.sh
+}
 
 build() (
-  cd $pkgname-$pkgver
+  cd $pkgname
   ./configure --prefix=/usr
   sed -i -e 's/ -shared / -Wl,-O1,--as-needed\0/g' libtool
   make
 )
 
 package() {
-  cd $pkgname-$pkgver
+  cd $pkgname
   make DESTDIR="$pkgdir" install
 }



View it on GitLab: 
https://gitlab.archlinux.org/archlinux/packaging/packages/libimobiledevice-glue/-/commit/8f64e682e80f35f85b2dd2d6af50ae8de76491ae

-- 
This project does not include diff previews in email notifications.
View it on GitLab: 
https://gitlab.archlinux.org/archlinux/packaging/packages/libimobiledevice-glue/-/commit/8f64e682e80f35f85b2dd2d6af50ae8de76491ae
You're receiving this email because of your account on gitlab.archlinux.org.


Reply via email to