# Maintainer: Eshan Roy pkgname=snigdhaos-falcon pkgver=1.0.0 pkgrel=1 pkgdesc="An application for common tools installer" arch=('any') url="https://github.com/Snigdha-OS/snigdhaos-falcon/" license=('MIT') depends=( 'qt6-base' 'xdg-utils' 'snigdhaos-libs' ) makedepends=( 'git' ) groups=('snigdhaos') source=("git+https://github.com/Snigdha-OS/snigdhaos-falcon.git") sha256sums=('SKIP') pkgver() { cd "$srcdir/$pkgname" || exit printf "r%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)" } build() { cd "$srcdir/$pkgname" || exit qmake-qt6 $pkgname.pro make } package() { cd "$srcdir/$pkgname" || exit make DESTDIR="$pkgdir" install install -Dm0644 org.snigdhaos.snigdhaos-falcon.pkexec.policy "$pkgdir/usr/share/polkit-1/actions/org.snigdhaos.snigdhaos-falcon.pkexec.policy" install -Dm0755 shellrunner.sh "$pkgdir/usr/share/snigdhaos/scripts/snigdhaos-falcon/shellrunner.sh" }