mirror of
https://github.com/Snigdha-OS/snigdhaos-pkgbuilds.git
synced 2025-09-21 03:55:02 +02:00
🐛 fix: typos and src
This commit is contained in:
@@ -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() {
|
||||||
printf "r%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)"
|
cd "$srcdir/$pkgname" || exit
|
||||||
|
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"
|
||||||
}
|
}
|
Reference in New Issue
Block a user