diff --git a/.SRCINFO b/.SRCINFO index 6bddc2a9380289db2b7f37ffba38043bf417a9b2..5552b0e7e6d51c5e175d5b30c65936810e641509 100644 --- a/.SRCINFO +++ b/.SRCINFO @@ -4,15 +4,16 @@ pkgbase = syndication-domination pkgrel = 4 url = https://gitlab.com/gabmus/syndication-domination arch = x86_64 - license = GPL3 + license = AGPL-3.0-or-later + makedepends = git makedepends = meson makedepends = pybind11 - depends = pugixml depends = fmt + depends = gcc-libs + depends = glibc + depends = pugixml depends = tidy - source = https://gitlab.com/gabmus/syndication-domination/-/archive/1.0/syndication-domination-1.0.tar.gz - source = https://gitlab.com/gabmus/syndication-domination/-/commit/75920321.patch - sha256sums = eb8a1d6b3ebc2e3997397b07fe75eb62e4c788ee37d8b2a12e72becd65cf479f - sha256sums = f7a7b25338f632de1ed563efc50846d1b477da13ff6b7e417c73cacccfc0111f + source = git+https://gitlab.com/gabmus/syndication-domination.git#tag=1.0 + b2sums = 0e7f39a0e615434e27b3aebbea374f5b0937ca0f7fe09c65308df2b9a7485ed45329d32179da4e4041fe02c323e6f3e79c0676b8d30757a9e83704ff39f5b470 pkgname = syndication-domination diff --git a/PKGBUILD b/PKGBUILD index 0c8efb2086400a71db50e6424b3027e86262db1a..88a8040263589170e7bf758662712304bf277c7e 100644 --- a/PKGBUILD +++ b/PKGBUILD @@ -1,4 +1,4 @@ -# Maintainer: +# Maintainer: Balló György <ballogyor+arch at gmail dot com> pkgname=syndication-domination pkgver=1.0 @@ -6,21 +6,31 @@ pkgrel=4 pkgdesc='A simple RSS/Atom parser library in C++' arch=(x86_64) url='https://gitlab.com/gabmus/syndication-domination' -license=(GPL3) -depends=(pugixml fmt tidy) -makedepends=(meson pybind11) -source=(https://gitlab.com/gabmus/syndication-domination/-/archive/$pkgver/$pkgname-$pkgver.tar.gz - https://gitlab.com/gabmus/syndication-domination/-/commit/75920321.patch) -sha256sums=('eb8a1d6b3ebc2e3997397b07fe75eb62e4c788ee37d8b2a12e72becd65cf479f' - 'f7a7b25338f632de1ed563efc50846d1b477da13ff6b7e417c73cacccfc0111f') +license=(AGPL-3.0-or-later) +depends=( + fmt + gcc-libs + glibc + pugixml + tidy +) +makedepends=( + git + meson + pybind11 +) +source=("git+https://gitlab.com/gabmus/$pkgname.git#tag=$pkgver") +b2sums=(0e7f39a0e615434e27b3aebbea374f5b0937ca0f7fe09c65308df2b9a7485ed45329d32179da4e4041fe02c323e6f3e79c0676b8d30757a9e83704ff39f5b470) prepare() { - patch -d $pkgname-$pkgver -p1 < 75920321.patch # Needed for gfeeds + cd $pkgname + + # Add author extraction for feed item (needed for gfeeds) + git cherry-pick -n 75920321062d682437f3fb0319dad227d8b18f6c } build() { - meson build $pkgname-$pkgver \ - --prefix=/usr + arch-meson $pkgname build meson compile -C build }