🔒 Repository is read-only – file editing is disabled.
123456789101112131415161718192021222324252627282930313233343536373839404142434445464748
pkgname: 'libgit2-glib'
pkgver: '1.2.1'
pkgrel: '3'
pkgdesc: 'GLib wrapper for libgit2'
url: 'https://wiki.gnome.org/Projects/Libgit2-glib'
arch: x86_64
license:
- 'LGPL2.1'
depends: []
makedepends:
- 'gobject-introspection'
- glib
- libgit2
- meson
- 'python-gobject'
- vala
- git
source:
- 'Fix-definition-of-GGIT_VERSION_HEX.patch'
- 'https://download.gnome.org/sources/${pkgname}/1.2/${pkgname}-${pkgver}.tar.xz'
sha256sums:
- SKIP
- SKIP
build: |
cd ${pkgname}-${pkgver}
patch -Np1 -i ../Fix-definition-of-GGIT_VERSION_HEX.patch
mkdir build
cd build
meson setup .. \
--prefix=/usr \
--buildtype=release
ninja
DESTDIR=${PKGDIR} ninja install
install -Dm644 ../COPYING ${PKGDIR}/usr/share/licenses/${pkgname}/COPYING
package: |
# strip ${PKGDIR} from embedded paths:
python -m compileall -d /usr/lib ${PKGDIR}/usr/lib
python -O -m compileall -d /usr/lib ${PKGDIR}/usr/lib