# Maintainer: Mark Wagie pkgname=devtoolbox pkgver=1.1.1 pkgrel=1 pkgdesc="Development tools at your fingertips" arch=('any') url="https://github.com/aleiepure/devtoolbox" license=('CC0-1.0 AND GPL-3.0-or-later AND LGPL-3.0-or-later AND MIT AND Unlicense') depends=( 'gcr-4' 'gtksourceview5' 'libadwaita' 'python-asn1crypto' 'python-croniter' 'python-cssbeautifier' 'python-daltonlens' 'python-dateutil' 'python-gobject' 'python-humanize' 'python-jsbeautifier' 'python-jsonschema' 'python-lxml' 'python-markdown2' 'python-numpy' 'python-pillow' 'python-pygments' 'python-pyjwt' 'python-python-crontab' 'python-python-lorem' 'python-pytz' 'python-qrcode' 'python-ruamel-yaml' 'python-sqlparse' 'python-textstat' 'python-tzlocal' 'python-uuid6' 'webkitgtk-6.0' ) makedepends=('blueprint-compiler' 'git' 'meson') checkdepends=('appstream-glib') _commit=26c22455e6fb31658978d438acc2ea1b9aed740d # tags/v1.1.1^0 source=("git+https://github.com/aleiepure/devtoolbox#commit=$_commit") sha256sums=('SKIP') pkgver() { cd "$pkgname" git describe --tags | sed 's/^v//;s/-/+/g' } build() { arch-meson "$pkgname" build meson compile -C build } check() { meson test -C build --print-errorlogs || : } package() { meson install -C build --destdir "$pkgdir" cd "$pkgname" install -Dm644 LICENSES/MIT.txt -t "$pkgdir/usr/share/licenses/$pkgname/" }