[arch-commits] Commit in librepo/trunk (PKGBUILD)
Jelle van der Waa
jelle at gemini.archlinux.org
Thu Dec 2 14:36:38 UTC 2021
Date: Thursday, December 2, 2021 @ 14:36:37
Author: jelle
Revision: 1061921
Minor fixes
Modified:
librepo/trunk/PKGBUILD
----------+
PKGBUILD | 33 +++++++++++++++++----------------
1 file changed, 17 insertions(+), 16 deletions(-)
Modified: PKGBUILD
===================================================================
--- PKGBUILD 2021-12-02 14:34:20 UTC (rev 1061920)
+++ PKGBUILD 2021-12-02 14:36:37 UTC (rev 1061921)
@@ -1,3 +1,4 @@
+# Contributor: larchunix
# Maintainer: Jelle van der Waa <jelle at archlinux.org>
pkgname=librepo
@@ -6,7 +7,7 @@
pkgdesc="Repodata downloading library"
arch=('x86_64')
url="https://github.com/rpm-software-management/$pkgname"
-license=('LGPL2.1')
+license=('GPL')
depends=('curl' 'glib2' 'gpgme' 'libxml2' 'openssl')
makedepends=('cmake' 'python')
checkdepends=('check' 'python-gpgme' 'python-pyxattr' 'python-requests')
@@ -15,30 +16,30 @@
sha256sums=('436ead59dd22f45e87b4c0a408e100e0a159f825128b875ad33ed672204023be')
build() {
- cd "$pkgname-$pkgver"
+ cd "$pkgname-$pkgver"
- cmake -B build \
- -DCMAKE_BUILD_TYPE=None \
- -DCMAKE_C_FLAGS_RELEASE='-DNDEBUG' \
- -DCMAKE_INSTALL_PREFIX=/usr \
- -DCMAKE_INSTALL_LIBDIR=lib \
- -DENABLE_DOCS=OFF \
- -DENABLE_PYTHON=ON \
- -DWITH_ZCHUNK=OFF
+ cmake -B build \
+ -DCMAKE_BUILD_TYPE=None \
+ -DCMAKE_C_FLAGS_RELEASE='-DNDEBUG' \
+ -DCMAKE_INSTALL_PREFIX=/usr \
+ -DCMAKE_INSTALL_LIBDIR=lib \
+ -DENABLE_DOCS=OFF \
+ -DENABLE_PYTHON=ON \
+ -DWITH_ZCHUNK=OFF
- make -C build
+ make -C build
}
check() {
- cd "$pkgname-$pkgver"
+ cd "$pkgname-$pkgver"
- make -C build ARGS="-V" test
+ make -C build ARGS="-V" test
}
package() {
- cd "$pkgname-$pkgver"
+ cd "$pkgname-$pkgver"
- make -C build DESTDIR="$pkgdir/" install
+ make -C build DESTDIR="$pkgdir/" install
- install -Dp -m644 README.md "$pkgdir/usr/share/doc/$pkgname/README.md"
+ install -Dp -m644 README.md "$pkgdir/usr/share/doc/$pkgname/README.md"
}
More information about the arch-commits
mailing list