aboutsummaryrefslogtreecommitdiffstats
path: root/community/libunique/APKBUILD
blob: 4b57e6cac1f3857ef1d297ce0f90d30cf9c69a96 (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
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=libunique
pkgver=1.1.6
pkgrel=6
pkgdesc="Library for writing single instance applications"
url="http://live.gnome.org/LibUnique"
arch="all"
license="LGPL-2.1-or-later"
makedepends="gtk+-dev dbus-glib-dev"
subpackages="$pkgname-dev $pkgname-doc"
source="https://download.gnome.org/sources/libunique/1.1/libunique-$pkgver.tar.bz2
	g_const_return.patch"


prepare() {
	update_config_sub
	default_prepare
}

build() {
	./configure \
		--build=$CBUILD \
		--host=$CHOST \
		--prefix=/usr \
		--sysconfdir=/etc \
		--localstatedir=/var \
		--enable-maintainer-flags=no \
		--enable-debug=no \
		--disable-static
	make
}

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

sha512sums="82893e1d51a553b3c1413498e48a3a132e2c05779b4442c3732b5429d698e133741615657432a3d05c82a05c79bb59acc13df500bb08010212155db5e4ee6bde  libunique-1.1.6.tar.bz2
04952fa7f5cee407d1071b233b9fb9b2a460029d96f81edd2539032d85ef62a5b78599ec83d44f0a3931fe6e413f733366b38d7a2413b45e6cbbc1f000449d4b  g_const_return.patch"