🐛 fix: typos and src

This commit is contained in:
eshanized
2025-01-11 22:34:32 +05:30
parent 3988b7accc
commit fbe353c2fe

View File

@@ -1,16 +1,11 @@
# Maintainer: Eshan Roy <eshan@snigdhaos.org> # Maintainer: Eshan Roy <eshan@snigdhaos.org>
pkgname=snigdhaos-falcon pkgname=snigdhaos-falcon
pkgver=1 pkgver=1.0.0
_pkgver=1
pkgrel=1 pkgrel=1
pkgdesc="An application for common tools installer" pkgdesc="An application for common tools installer"
arch=( arch=('any')
'any'
)
url="https://github.com/Snigdha-OS/snigdhaos-falcon/" url="https://github.com/Snigdha-OS/snigdhaos-falcon/"
license=( license=('MIT')
'MIT'
)
depends=( depends=(
'qt6-base' 'qt6-base'
'xdg-utils' 'xdg-utils'
@@ -19,27 +14,24 @@ depends=(
makedepends=( makedepends=(
'git' 'git'
) )
groups=( groups=('snigdhaos')
'snigdhaos' source=("git+https://github.com/Snigdha-OS/snigdhaos-falcon.git")
) sha256sums=('SKIP')
source=("")
sha256sums=(
'SKIP'
)
pkgver() { pkgver() {
cd "$srcdir/$pkgname" || exit
printf "r%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)" printf "r%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)"
} }
build() { build() {
cd "$srcdir/$pkgname-$_pkgver" || exit cd "$srcdir/$pkgname" || exit
qmake-qt6 $pkgname.pro qmake-qt6 $pkgname.pro
make make
} }
package() { package() {
cd "$srcdir/$pkgname-$_pkgver" || exit cd "$srcdir/$pkgname" || exit
make INSTALL_ROOT="$pkgdir" install 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 -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 install -Dm0755 shellrunner.sh "$pkgdir/usr/share/snigdhaos/scripts/snigdhaos-falcon/shellrunner.sh"
} }