[arch-commits] Commit in ostree/repos (testing-x86_64 testing-x86_64/PKGBUILD)
David Runge
dvzrv at archlinux.org
Thu Mar 25 22:57:10 UTC 2021
Date: Thursday, March 25, 2021 @ 22:57:09
Author: dvzrv
Revision: 411005
archrelease: copy trunk to testing-x86_64
Added:
ostree/repos/testing-x86_64/
ostree/repos/testing-x86_64/PKGBUILD
(from rev 411004, ostree/trunk/PKGBUILD)
----------+
PKGBUILD | 77 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
1 file changed, 77 insertions(+)
Copied: ostree/repos/testing-x86_64/PKGBUILD (from rev 411004, ostree/trunk/PKGBUILD)
===================================================================
--- testing-x86_64/PKGBUILD (rev 0)
+++ testing-x86_64/PKGBUILD 2021-03-25 22:57:09 UTC (rev 411005)
@@ -0,0 +1,77 @@
+# Maintainer: David Runge <dvzrv at archlinux.org>
+# Contributor: Jan Alexander Steffens (heftig) <jan.steffens at gmail.com>
+# Contributor: Mirco Tischler <mt-ml at gmx dot de>
+
+_name=libostree
+pkgname=ostree
+pkgver=2021.1
+pkgrel=1
+pkgdesc="Operating system and container binary deployment and upgrades"
+url="https://ostree.readthedocs.org/en/latest/"
+arch=('x86_64')
+license=('GPL2')
+depends=('fuse2' 'glibc' 'libgpg-error' 'libsodium' 'util-linux' 'openssl' 'xz'
+'zlib')
+makedepends=('avahi' 'e2fsprogs' 'git' 'glib2' 'gobject-introspection' 'gpgme'
+'gtk-doc' 'libarchive' 'libsoup' libxslt 'mkinitcpio' 'python' 'systemd')
+checkdepends=('cpio' 'elfutils' 'gjs' 'parallel' 'python-yaml' 'syslinux')
+provides=('libostree-1.so')
+source=("git+https://github.com/ostreedev/ostree#tag=v${pkgver}"
+ "git+https://github.com/mendsley/bsdiff"
+ "git+https://gitlab.gnome.org/GNOME/libglnx.git")
+sha512sums=('SKIP'
+ 'SKIP'
+ 'SKIP')
+b2sums=('SKIP'
+ 'SKIP'
+ 'SKIP')
+validpgpkeys=('1CEC7A9DF7DA85ABEF843DC0A866D7CCAE087291') # Colin Walters <walters at redhat.com>
+
+prepare() {
+ cd "$pkgname"
+
+ git submodule init
+ git config --local submodule.bsdiff.url "$srcdir/bsdiff"
+ git config --local submodule.libglnx.url "$srcdir/libglnx"
+ git submodule update
+
+ NOCONFIGURE=1 ./autogen.sh
+}
+
+build() {
+ cd "$pkgname"
+
+ ./configure \
+ --prefix=/usr \
+ --sysconfdir=/etc \
+ --localstatedir=/var \
+ --sbindir=/usr/bin \
+ --libexecdir=/usr/lib \
+ --with-builtin-grub2-mkconfig \
+ --with-ed25519-libsodium \
+ --with-dracut \
+ --with-mkinitcpio \
+ --with-openssl \
+ --enable-experimental-api \
+ --disable-static \
+ --enable-gtk-doc
+
+ # circumvent overlinking
+ sed -i -e 's/ -shared / -Wl,-O1,--as-needed\0/g' libtool
+
+ make
+}
+
+check() {
+ cd "$pkgname"
+ make check -k || echo "Known to fail: https://github.com/ostreedev/ostree/issues/2313"
+}
+
+package() {
+ depends+=('libarchive.so' 'libavahi-client.so' 'libavahi-common.so'
+ 'libavahi-glib.so' 'libgio-2.0.so' 'libglib-2.0.so' 'libgobject-2.0.so'
+ 'libgpgme.so' 'libsoup-2.4.so' 'libsystemd.so')
+
+ cd "$pkgname"
+ make DESTDIR="$pkgdir" install
+}
More information about the arch-commits
mailing list