Balló György pushed to branch main at Arch Linux / Packaging / Packages / 
libplist


Commits:
4854d550 by Balló György at 2024-05-12T21:00:36+02:00
Switch to git source

- - - - -


2 changed files:

- .SRCINFO
- PKGBUILD


Changes:

=====================================
.SRCINFO
=====================================
@@ -6,12 +6,13 @@ pkgbase = libplist
        arch = x86_64
        license = LGPL-2.1-or-later
        makedepends = cython
+       makedepends = git
        makedepends = python
        makedepends = python-setuptools
        depends = gcc-libs
        depends = glibc
        optdepends = python: Python bindings
-       source = 
https://github.com/libimobiledevice/libplist/releases/download/2.5.0/libplist-2.5.0.tar.bz2
-       sha256sums = 
72742f20a73e0a6367fbcadaf48cf903bfa45a3642a11f2224ed850d1f1e5683
+       source = git+https://github.com/libimobiledevice/libplist.git#tag=2.5.0
+       b2sums = 
6e0219ede2b230d2242975d7efa6a5461d11d6b086e5378600d83ce885d6cb99b75b7e498fcbafd47b33c75d8e985414a6d27c509ea97ddaa780d118858d1929
 
 pkgname = libplist


=====================================
PKGBUILD
=====================================
@@ -11,24 +11,29 @@ arch=('x86_64')
 url='https://libimobiledevice.org/'
 license=('LGPL-2.1-or-later')
 depends=('gcc-libs' 'glibc')
-makedepends=('cython' 'python' 'python-setuptools')
+makedepends=('cython' 'git' 'python' 'python-setuptools')
 optdepends=('python: Python bindings')
-source=("https://github.com/libimobiledevice/$pkgname/releases/download/$pkgver/$pkgname-$pkgver.tar.bz2";)
-sha256sums=('72742f20a73e0a6367fbcadaf48cf903bfa45a3642a11f2224ed850d1f1e5683')
+source=("git+https://github.com/libimobiledevice/libplist.git#tag=$pkgver";)
+b2sums=('6e0219ede2b230d2242975d7efa6a5461d11d6b086e5378600d83ce885d6cb99b75b7e498fcbafd47b33c75d8e985414a6d27c509ea97ddaa780d118858d1929')
+
+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
 }
 
 check() {    
-  cd $pkgname-$pkgver
+  cd $pkgname
   make check  
 }
 
 package() {
-  cd $pkgname-$pkgver
+  cd $pkgname
   make DESTDIR="$pkgdir" install
 }



View it on GitLab: 
https://gitlab.archlinux.org/archlinux/packaging/packages/libplist/-/commit/4854d5500864969c28b2d9f2ef336c80ff54d1d5

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


Reply via email to