* update libplist to 2.6.0-1
This commit is contained in:
parent
1ebb9f9100
commit
0c6dbb94bf
@ -5,31 +5,36 @@
|
||||
# Contributor: Gabriel Martinez < reitaka at gmail dot com >
|
||||
|
||||
pkgname=libplist
|
||||
pkgver=2.5.0
|
||||
pkgver=2.6.0
|
||||
pkgrel=1
|
||||
pkgdesc='Library to handle Apple Property List files'
|
||||
arch=(x86_64 powerpc64le powerpc64 powerpc riscv64)
|
||||
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=('b122bd4ec6f0b88cf1e7159f8beff6d702d755f47624765a324c2ffb8011d834d81ff422433e87f72d3ace67f7909e9197a263dc82428e2f38d31315fc0ff2d2')
|
||||
|
||||
prepare() {
|
||||
cd $pkgname
|
||||
autoreconf -fi
|
||||
}
|
||||
|
||||
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
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user