mirror of
https://github.com/Snigdha-OS/snigdhaos-pkgbuilds.git
synced 2025-09-21 12:04:59 +02:00
chore: add snigdhaos-assistant
This commit is contained in:
30
snigdhaos-assistant/PKGBUILD
Normal file
30
snigdhaos-assistant/PKGBUILD
Normal file
@@ -0,0 +1,30 @@
|
||||
# Maintainer: Eshan Roy <eshan@snigdhaos.org>
|
||||
|
||||
pkgname=snigdhaos-assistant
|
||||
pkgver=1
|
||||
pkgrel=1
|
||||
pkgdesc="A setup utility for Garuda Linux which helps setting up & installing applications"
|
||||
arch=('any')
|
||||
url="https://gitlab.com/snigdhaos/snigdhaos-assistant/"
|
||||
license=('GPL3')
|
||||
depends=('yad' 'wget' 'qt5-base')
|
||||
optdepends=('pamac')
|
||||
makedepends=('git' 'cmake')
|
||||
groups=()
|
||||
source=("https://gitlab.com/snigdhaos/snigdhaos-assistant/-/archive/1.0/snigdhaos-assistant-1.0.tar.gz")
|
||||
sha256sums=('SKIP')
|
||||
|
||||
build() {
|
||||
cmake -B build -S "$pkgname" \
|
||||
-DCMAKE_BUILD_TYPE='Release' \
|
||||
-DCMAKE_INSTALL_PREFIX='/usr' \
|
||||
-Wno-dev
|
||||
make -C build
|
||||
}
|
||||
|
||||
package() {
|
||||
make -C build DESTDIR="$pkgdir" install
|
||||
|
||||
install -d "$pkgdir"/usr
|
||||
cp -rf "$srcdir"/$pkgname/usr "$pkgdir"
|
||||
}
|
Reference in New Issue
Block a user