aboutsummaryrefslogtreecommitdiffstats
path: root/testing/totem-pl-parser/APKBUILD
blob: 02e2e9e310806afad3c2d64b29448fb3da378f21 (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
# Maintainer: William Pitcock <nenolod@dereferenced.org>
pkgname=totem-pl-parser
pkgver=3.26.0
pkgrel=0
pkgdesc="GNOME playlist parser library"
url="http://www.gnome.org/"
arch="all"
license="LGPL"
makedepends="meson gnome-desktop-dev libsoup-dev libxml2-dev json-glib-dev
	gmime-dev libxml2-utils libxslt itstool ninja"
install=""
subpackages="$pkgname-dev $pkgname-lang"
source="https://download.gnome.org/sources/totem-pl-parser/${pkgver%.*}/totem-pl-parser-$pkgver.tar.xz"
builddir="$srcdir/totem-pl-parser-$pkgver"

build() {
	mkdir "$builddir"/build
	cd "$builddir"/build
	meson \
		--prefix=/usr \
		--sysconfdir=/etc \
		--mandir=/usr/share/man \
		--localstatedir=/var \
		..
	ninja
}

package() {
	cd "$builddir"/build
	DESTDIR="$pkgdir" ninja install
}

sha512sums="30fad1f96bb0f16b39afc7f0d9632ea1e97f5c96e8aecbf0a6c19b9474c5683adc90786ac27d64d68130914fdf073b575921d54d0bced6cd5bdd23631252e8d8  totem-pl-parser-3.26.0.tar.xz"