aboutsummaryrefslogtreecommitdiffstats
path: root/community/libglibutil/APKBUILD
blob: 2a69597aa3aa7b03ab9b1c2dd8fe6122f97da133 (plain)
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
# Contributor: Danct12 <danct12@disroot.org>
# Maintainer: Bart Ribbers <bribbers@disroot.org>
pkgname=libglibutil
pkgver=1.0.77
pkgrel=0
pkgdesc="Library of glib utilities"
url="https://github.com/sailfishos/libglibutil"
arch="all"
license="BSD-3-Clause"
makedepends="glib-dev"
subpackages="$pkgname-dev $pkgname-doc"
source="https://github.com/sailfishos/libglibutil/archive/$pkgver/libglibutil-$pkgver.tar.gz"

build() {
	make KEEP_SYMBOLS=1 release pkgconfig
}

check() {
	make test
}

package() {
	make DESTDIR="$pkgdir" install-dev
	install -Dm 644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
}

sha512sums="
3532a484e7c1ddd9b3ec8cb54a9c6d2fb6db0a413841c90139583a7ec9b873af1c4fc276a3f786042804f0f2159418ac213350dae7a1ed5a23cc31cb47e2dcd8  libglibutil-1.0.77.tar.gz
"