blob: 7c93b8deea7feec0361525fc713c928aed1e78cd (
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
30
31
32
33
34
35
|
# Maintainer: Gabriele Musco <gabmus@disroot.org>
# Upstream URL: https://gitlab.com/gabmus/syndication-domination
pkgname=python-syndom-git
pkgver=f64caab
pkgrel=1
pkgdesc="A simple RSS/Atom parser library in C++, with python bindings"
arch=('any')
url="https://gitlab.com/gabmus/syndication-domination"
license=('AGPL3')
depends=('python' 'pugixml' 'pybind11' 'tidy' 'fmt')
makedepends=('git' 'meson' 'pybind11' 'cmake')
provides=("${pkgname%-git}")
conflicts=("${pkgname%-git}")
source=("${pkgname%-git}::git+https://gitlab.com/GabMus/syndication-domination.git")
sha256sums=('SKIP')
pkgver() {
cd "$srcdir/${pkgname%-git}"
git describe --long --tags --always | sed 's/\([^-]*-g\)/r\1/;s/-/./g'
}
build() {
arch-meson \
-DPYTHON_BINDINGS=true \
-DTO_JSON_BINARY=false \
-DHTML_SUPPORT=true \
"${pkgname%-git}" build
meson compile -C build
}
package() {
meson install -C build --destdir "$pkgdir"
}
|