summaryrefslogtreecommitdiff
path: root/user/orbit2/APKBUILD
blob: 6ce091c9e5de181978db50145da58fa5a8705787 (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
36
37
38
39
40
41
# Contributor: Ariadne Conill <ariadne@dereferenced.org>
# Maintainer: Zach van Rijn <me@zv.io>
pkgname=orbit2
pkgver=2.14.19
pkgrel=5
pkgdesc="CORBA implementation for GNOME"
url="https://gitlab.gnome.org/Archive/orbit2"
arch="all"
options="!check"  # known bug (and this package is so old)
license="LGPL-2.0-only"
depends=""
makedepends="glib-dev libidl-dev"
subpackages="$pkgname-dev $pkgname-doc"
source="https://download.gnome.org/sources/ORBit2/${pkgver%.*}/ORBit2-${pkgver}.tar.bz2
	glib-2.36.patch"
builddir="$srcdir"/ORBit2-$pkgver

prepare() {
	update_config_sub
	default_prepare
}

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

check() {
	make check
}

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

sha512sums="313e125234e8d1195be277ad125af169f12ce312cb541a4641c5d57d3c905bbdc6a46672a86a012409cf4d7af58b5122f0e5db250730b65e8d95b2d5f4c4657e  ORBit2-2.14.19.tar.bz2
b90d8e200d16b735bece54454d1e2b1a7c1b75aaac83986263b5a9ac38c4235eed747408a07a266c0aaaeb9c7a75e7fda1ef1b2ed54300003da38ff2251fdcfa  glib-2.36.patch"