diff options
author | Vitalii Kuzhdin | 2024-12-07 23:03:24 +0100 |
---|---|---|
committer | Vitalii Kuzhdin | 2024-12-07 23:03:24 +0100 |
commit | 219315d15938796623fad52a18dccea4a80b454b (patch) | |
tree | 9d418a204e1a4fcb2329f0d06f340eea9c27b327 /PKGBUILD | |
parent | 67cf6e1a825e2a2b21dac710a14cf80f047f52b1 (diff) | |
download | aur-219315d15938796623fad52a18dccea4a80b454b.tar.gz |
Build against the latest commit
Diffstat (limited to 'PKGBUILD')
-rw-r--r-- | PKGBUILD | 50 |
1 files changed, 32 insertions, 18 deletions
@@ -1,37 +1,51 @@ -# Maintainer: Balló György <ballogyor+arch at gmail dot com> +# Maintainer: Vitalii Kuzhdin <vitaliikuzhdin@gmail.com> +# Contributor: Balló György <ballogyor+arch at gmail dot com> -pkgname=d-feet -pkgver=0.3.16 -pkgrel=3 +pkgname="d-feet" +_commit_rel="53b495c93e2bd00811ba0b7f6583b8f256994e9d" # 0.3.16 +_commit="f9bd21197c0dcdea6a25fb4fcfd303e56ead714b" # r16 +pkgver="0.3.17+r16+g${_commit::7}" +pkgrel=1 pkgdesc="D-Bus debugger for GNOME" arch=('any') -url="https://wiki.gnome.org/Apps/DFeet" -license=('GPL2') -depends=('gtk3' 'python-gobject') -makedepends=('gobject-introspection' 'meson' 'python-pycodestyle' 'yelp-tools') +url="https://gitlab.gnome.org/Archive/d-feet" +license=('GPL-2.0-or-later') +depends=('dconf' 'glib2' 'gtk3>=3.9.4' 'hicolor-icon-theme' 'libwnck3' 'python' + 'python-configparser' 'python-gobject') +makedepends=('gobject-introspection>=0.9.6' 'meson>=0.50' 'python-pycodestyle' + 'yelp-tools') checkdepends=('xorg-server-xvfb') -source=(https://download.gnome.org/sources/$pkgname/${pkgver%.*}/$pkgname-$pkgver.tar.xz meson-drop-unused-argument.patch python-del-fix.patch) -sha512sums=('ff4db968cbd679e2065c614d538187fe3c56118b44638771ec9f7472bdba4a798dc682565f520a8680a8001ea39ce88555b07cda172e60f88eb6bdf1e00b5a6d' - '019dbeff67c22eccab4e34ed3c3aa292a86c6113f0f9575ecbec948aa5e2fc06f0f862d8e07d8ce566045e6aeb985cebddbc3c70ce6cffc8a074c1e08c80e27c' +_pkgsrc="${pkgname}-${_commit}" +source=("${_pkgsrc}.tar.gz::${url}/-/archive/${_commit}/${_pkgsrc}.tar.gz" + "${pkgname}_meson_drop_unused_argument.patch::https://sources.debian.org/data/main/${pkgname::1}/${pkgname}/0.3.16-4/debian/patches/meson-drop-unused-argument-for-i18n.merge_file.patch" + "${pkgname}_python3_syntax.patch") +sha512sums=('2517966922d9392401273dff6ed4465b050c458fa66b9b727b2663c44ed40fce9444d8126595208a755839f0350fdbdd32a418a5ee702aace9c7679a89c8ddb8' + 'e7b90929a984e8d1b1340c27861cd5a50dad3d88cda4828e7ef2f7990e80447d7a793a060bec426cc9255db4d1a50a392ad310096e467ed9d0857cebf2dcbdc2' '082938045dda067c1fca4d3954fffbaf6d3fe39e5a69ce4e6d629aa62c148009e7f228f01b76863d2b78d6fac663a93eb06988b1239901bfb41b2f65d62f249e') prepare() { - cd $pkgname-$pkgver - patch -Np1 -i ${srcdir}/meson-drop-unused-argument.patch - patch -Np1 -i ${srcdir}/python-del-fix.patch + cd "${srcdir}/${_pkgsrc}" + patch -Np1 -i "../${pkgname}_meson_drop_unused_argument.patch" + patch -Np1 -i "../${pkgname}_python3_syntax.patch" } build() { - arch-meson $pkgname-$pkgver build + cd "${srcdir}" + arch-meson "${_pkgsrc}" build ninja -C build } check() { + cd "${srcdir}" xvfb-run meson test -C build --print-errorlogs } package() { - meson install -C build --destdir "$pkgdir" - python -m compileall -d /usr/lib "$pkgdir/usr/lib" - python -O -m compileall -d /usr/lib "$pkgdir/usr/lib" + cd "${srcdir}" + meson install -C build --destdir "${pkgdir}" + + cd "${_pkgsrc}" + # python -m compileall -d /usr/lib "${pkgdir}/usr/lib" + # python -O -m compileall -d /usr/lib "${pkgdir}/usr/lib" + DESTDIR="${pkgdir}" python meson_post_install.py } |