fix: python package renaming

This commit is contained in:
ngn
2024-08-19 14:24:01 +03:00
parent 5254876ac8
commit 6b826d41c6
104 changed files with 465 additions and 404 deletions

View File

@@ -1,20 +1,23 @@
NAME="pygobject"
DESC="Python bindings to the GObject class from GLib"
VERSION="3.44.1"
FILES=("https://download.gnome.org/sources/pygobject/3.44/pygobject-$VERSION.tar.xz")
FILES=("https://download.gnome.org/sources/pygobject/3.44/pygobject-${VERSION}.tar.xz")
HASHES=("def9418983594c6a3330717bb640ca4d")
DEPENDS=("gobject-introspection" "pycairo")
DEPENDS=("gobject-introspection" "pypi-pycairo")
PACKAGE() {
tar xf $NAME-$VERSION.tar.xz
cd $NAME-$VERSION
tar xf "${NAME}-${VERSION}.tar.xz"
cd "${NAME}-${VERSION}"
mv -v tests/test_gdbus.py{,.nouse}
mkdir build
cd build
meson setup --prefix=/usr --buildtype=release ..
ninja && DESTDIR="$ROOTDIR" ninja install
ninja
DESTDIR="${ROOTDIR}" ninja install
cd ../.. && rm -r $NAME-$VERSION
cd ../.. && rm -r "${NAME}-${VERSION}"
}