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