From 4f9e19d8b6c56249bb8971788572a1e10a9dc53c Mon Sep 17 00:00:00 2001 From: "Eshan Roy (Eshanized)" Date: Tue, 30 Apr 2024 23:22:48 +0530 Subject: [PATCH] chore: add snigdhaos-assistant --- snigdhaos-assistant/PKGBUILD | 30 ++++++++++++++++++++++++++++++ 1 file changed, 30 insertions(+) create mode 100644 snigdhaos-assistant/PKGBUILD diff --git a/snigdhaos-assistant/PKGBUILD b/snigdhaos-assistant/PKGBUILD new file mode 100644 index 00000000..512e7c96 --- /dev/null +++ b/snigdhaos-assistant/PKGBUILD @@ -0,0 +1,30 @@ +# Maintainer: Eshan Roy + +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" +}