summaryrefslogtreecommitdiff
path: root/user/libplist/APKBUILD
blob: 5df5484de747bb0fb1fee19568be7e650010992e (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
# Contributor: Síle Ekaterin Liszka <sheila@vulpine.house>
# Maintainer: Síle Ekaterin Liszka <sheila@vulpine.house>
pkgname=libplist
pkgver=2.3.0
pkgrel=0
pkgdesc="Library for working with plist files"
url="https://libimobiledevice.org/"
arch="all"
license="LGPL-2.1+ AND MIT"
depends=""
makedepends="python3-dev py3-cython"
subpackages="$pkgname-dev $pkgname-doc"
source="https://github.com/libimobiledevice/libplist/releases/download/$pkgver/libplist-$pkgver.tar.bz2"

build() {
	./configure \
		--build=$CBUILD \
		--host=$CHOST \
		--prefix=/usr \
		--sysconfdir=/etc \
		--mandir=/usr/share/man \
		--localstatedir=/var
	make
}

check() {
	# -j1 for #1175
	make -j1 check
}

package() {
	make DESTDIR="$pkgdir" install
}

sha512sums="f2c89b72116a12d516a690dca583eed68fee53510ed461284d6f2840e99431ae406c66abd6758247b659151f1f5decf7189d3fd28f6fa5f076003c800ee2dbc3  libplist-2.3.0.tar.bz2"