mirror of
https://github.com/Snigdha-OS/snigdhaos-pkgbuilds.git
synced 2025-09-22 20:45:00 +02:00

Some checks are pending
Check Conventional Commit / check-commit-message (push) Waiting to run
37 lines
974 B
Bash
37 lines
974 B
Bash
# Maintainer: Eshan Roy <eshan@snigdhaos.org>
|
|
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"
|
|
} |