chore: add snigdhaos-assistant

This commit is contained in:
Eshan Roy (Eshanized)
2024-04-30 23:22:48 +05:30
parent 0ccaf08ac3
commit 4f9e19d8b6

View 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"
}