[arch-commits] Commit in libdnf/repos/community-x86_64 (PKGBUILD PKGBUILD)

Jelle van der Waa jelle at gemini.archlinux.org
Tue May 3 16:58:28 UTC 2022


    Date: Tuesday, May 3, 2022 @ 16:58:28
  Author: jelle
Revision: 1192419

archrelease: copy trunk to community-x86_64

Added:
  libdnf/repos/community-x86_64/PKGBUILD
    (from rev 1192418, libdnf/trunk/PKGBUILD)
Deleted:
  libdnf/repos/community-x86_64/PKGBUILD

----------+
 PKGBUILD |  110 ++++++++++++++++++++++++++++++-------------------------------
 1 file changed, 55 insertions(+), 55 deletions(-)

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2022-05-03 16:58:21 UTC (rev 1192418)
+++ PKGBUILD	2022-05-03 16:58:28 UTC (rev 1192419)
@@ -1,55 +0,0 @@
-# Contributor: larchunix
-# Maintainer: Jelle van der Waa <jelle at archlinux.org>
-
-pkgname=libdnf
-pkgver=0.66.0
-pkgrel=1
-pkgdesc="Library providing simplified C and Python API to libsolv"
-arch=('x86_64')
-url="https://github.com/rpm-software-management/$pkgname"
-license=('GPL')
-depends=('glib2' 'gpgme' 'json-c' 'libmodulemd' 'librepo' 'libsolv'
-         'libutil-linux' 'openssl' 'rpm-tools' 'sqlite' 'zlib')
-makedepends=('cmake' 'gtk-doc' 'python' 'python-sphinx' 'swig')
-checkdepends=('check' 'cppunit')
-optdepends=('python: for python bindings')
-source=("$url/archive/$pkgver/$pkgname-$pkgver.tar.gz")
-sha256sums=('cbae552277d14ed8b6138cf5afc214aad7ce4e1e457548ec39ef2d6ef1be95e2')
-
-prepare() {
-  cd "$pkgname-$pkgver"
-  # TODO: libsolv installs cmake in something where libdnf can't find it
-  cp -p /usr/share/cmake/Modules/FindLibSolv.cmake cmake/modules/
-}
-
-build() {
-  cd "$pkgname-$pkgver"
-
-  cmake -B build \
-        -DCMAKE_BUILD_TYPE=None \
-        -DCMAKE_C_FLAGS_RELEASE='-DNDEBUG' \
-        -DCMAKE_CXX_FLAGS_RELEASE='-DNDEBUG' \
-        -DCMAKE_INSTALL_PREFIX=/usr \
-        -DCMAKE_INSTALL_LIBDIR=lib \
-        -DPYTHON_DESIRED=3 \
-        -DWITH_ZCHUNK=OFF \
-        -Wno-dev
-
-  make -C build VERBOSE=1
-}
-
-check() {
-  cd "$pkgname-$pkgver"
-  # tests fail
-  # (/build/libdnf/src/libdnf-0.65.0/build/tests/libdnf/test_libdnf_main:5860): libdnf-WARNING **: 12:55:05.175: Can't read plugin directory "/usr/lib/libdnf/plugins/": No such file or directory
-  # error: cannot open Packages database in /var/lib/rpm
-  # make -C build test ARGS="--output-on-failure"
-}
-
-package() {
-  cd "$pkgname-$pkgver"
-
-  make -C build DESTDIR="$pkgdir/" install
-
-  install -Dp -m644 README.md "$pkgdir/usr/share/doc/$pkgname/README.md"
-}

Copied: libdnf/repos/community-x86_64/PKGBUILD (from rev 1192418, libdnf/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2022-05-03 16:58:28 UTC (rev 1192419)
@@ -0,0 +1,55 @@
+# Contributor: larchunix
+# Maintainer: Jelle van der Waa <jelle at archlinux.org>
+
+pkgname=libdnf
+pkgver=0.67.0
+pkgrel=1
+pkgdesc="Library providing simplified C and Python API to libsolv"
+arch=('x86_64')
+url="https://github.com/rpm-software-management/$pkgname"
+license=('GPL')
+depends=('glib2' 'gpgme' 'json-c' 'libmodulemd' 'librepo' 'libsolv'
+         'libutil-linux' 'openssl' 'rpm-tools' 'sqlite' 'zlib')
+makedepends=('cmake' 'gtk-doc' 'python' 'python-sphinx' 'swig')
+checkdepends=('check' 'cppunit')
+optdepends=('python: for python bindings')
+source=("$url/archive/$pkgver/$pkgname-$pkgver.tar.gz")
+sha256sums=('14b4327cf95f46c0f2a095935c58a10f472f09319f37cb7d1732d4d242404230')
+
+prepare() {
+  cd "$pkgname-$pkgver"
+  # TODO: libsolv installs cmake in something where libdnf can't find it
+  cp -p /usr/share/cmake/Modules/FindLibSolv.cmake cmake/modules/
+}
+
+build() {
+  cd "$pkgname-$pkgver"
+
+  cmake -B build \
+        -DCMAKE_BUILD_TYPE=None \
+        -DCMAKE_C_FLAGS_RELEASE='-DNDEBUG' \
+        -DCMAKE_CXX_FLAGS_RELEASE='-DNDEBUG' \
+        -DCMAKE_INSTALL_PREFIX=/usr \
+        -DCMAKE_INSTALL_LIBDIR=lib \
+        -DPYTHON_DESIRED=3 \
+        -DWITH_ZCHUNK=OFF \
+        -Wno-dev
+
+  make -C build VERBOSE=1
+}
+
+check() {
+  cd "$pkgname-$pkgver"
+  # tests fail
+  # (/build/libdnf/src/libdnf-0.65.0/build/tests/libdnf/test_libdnf_main:5860): libdnf-WARNING **: 12:55:05.175: Can't read plugin directory "/usr/lib/libdnf/plugins/": No such file or directory
+  # error: cannot open Packages database in /var/lib/rpm
+  # make -C build test ARGS="--output-on-failure"
+}
+
+package() {
+  cd "$pkgname-$pkgver"
+
+  make -C build DESTDIR="$pkgdir/" install
+
+  install -Dp -m644 README.md "$pkgdir/usr/share/doc/$pkgname/README.md"
+}



More information about the arch-commits mailing list