diff options
author | João Figueiredo | 2021-02-01 19:37:01 +0000 |
---|---|---|
committer | João Figueiredo | 2021-02-01 19:37:01 +0000 |
commit | 308ecb2518d3c73796e6894617841fdd33232048 (patch) | |
tree | 592a6ac6a74de7b15ba1aafba6daf848c377767b | |
download | aur-308ecb2518d3c73796e6894617841fdd33232048.tar.gz |
First commit
-rw-r--r-- | .SRCINFO | 25 | ||||
-rw-r--r-- | PKGBUILD | 35 |
2 files changed, 60 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO new file mode 100644 index 000000000000..1aeef4c3370e --- /dev/null +++ b/.SRCINFO @@ -0,0 +1,25 @@ +pkgbase = syndication-git + pkgdesc = RSS/Atom parser library + pkgver = 5.79.0_r801.gc835785 + pkgrel = 1 + url = https://community.kde.org/Frameworks + arch = x86_64 + groups = kf5-git + license = LGPL + makedepends = git + makedepends = extra-cmake-modules-git + makedepends = doxygen + makedepends = qt5-tools + makedepends = qt5-doc + depends = kcodecs-git + provides = syndication + provides = kde-syndication-git + conflicts = syndication + conflicts = kde-syndication + conflicts = kde-syndication-git + replaces = kde-syndication-git + source = git+https://github.com/KDE/syndication.git + sha256sums = SKIP + +pkgname = syndication-git + diff --git a/PKGBUILD b/PKGBUILD new file mode 100644 index 000000000000..8b3e96d3cb8b --- /dev/null +++ b/PKGBUILD @@ -0,0 +1,35 @@ +# Merged with official ABS syndication PKGBUILD by João, 2021/02/01 (all respective contributors apply herein) +# Maintainer: João Figueiredo <jf.mundox@gmail.com> + +pkgname=syndication-git +pkgver=5.79.0_r801.gc835785 +pkgrel=1 +pkgdesc="RSS/Atom parser library" +arch=($CARCH) +url="https://community.kde.org/Frameworks" +license=(LGPL) +depends=(kcodecs-git) +makedepends=(git extra-cmake-modules-git doxygen qt5-tools qt5-doc) +conflicts=(${pkgname%-git} kde-syndication kde-syndication-git) +provides=(${pkgname%-git} kde-syndication-git) +groups=(kf5-git) +replaces=(kde-syndication-git) +source=("git+https://github.com/KDE/${pkgname%-git}.git") +sha256sums=('SKIP') + +pkgver() { + cd ${pkgname%-git} + _ver="$(grep -m1 'set(KF5\?_VERSION' CMakeLists.txt | cut -d '"' -f2 | tr - .)" + echo "${_ver}_r$(git rev-list --count HEAD).g$(git rev-parse --short HEAD)" +} + +build() { + cmake -B build -S ${pkgname%-git} \ + -DBUILD_TESTING=OFF \ + -DBUILD_QCH=ON + cmake --build build +} + +package() { + DESTDIR="$pkgdir" cmake --install build +} |