diff --git a/snigdhaos-falcon/PKGBUILD b/snigdhaos-falcon/PKGBUILD new file mode 100644 index 00000000..6f9807da --- /dev/null +++ b/snigdhaos-falcon/PKGBUILD @@ -0,0 +1,45 @@ +# Maintainer: Eshan Roy +pkgname=snigdhaos-falcon +pkgver=1 +_pkgver=1 +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=("") +sha256sums=( + 'SKIP' +) + +pkgver() { + printf "r%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)" +} + +build() { + cd "$srcdir/$pkgname-$_pkgver" || exit + qmake-qt6 $pkgname.pro + make +} + +package() { + cd "$srcdir/$pkgname-$_pkgver" || exit + make INSTALL_ROOT="$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 +} \ No newline at end of file