From 31156163ebc4c3fc664e86baefb0a86c4eea47d1 Mon Sep 17 00:00:00 2001 From: eshanized Date: Tue, 16 Apr 2024 19:03:29 +0530 Subject: [PATCH] =?UTF-8?q?=E2=8F=B3=20@eshanized=20updated=20the=20reposi?= =?UTF-8?q?tory=20=F0=9F=8E=89?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- common/snigdhaos-system-config/PKGBUILD | 38 +++++++++++++++++++++++++ 1 file changed, 38 insertions(+) create mode 100644 common/snigdhaos-system-config/PKGBUILD diff --git a/common/snigdhaos-system-config/PKGBUILD b/common/snigdhaos-system-config/PKGBUILD new file mode 100644 index 00000000..9fcd2f26 --- /dev/null +++ b/common/snigdhaos-system-config/PKGBUILD @@ -0,0 +1,38 @@ +# Maintainer: Eshan Roy + +pkgname=snigdhaos-system-config +org=Snigdha-OS +_pkgname=snigdhaos-system-config +_destname1="/etc" +_destname2="/usr" +_licensedir="/usr/share/snigdhaos/licenses/" +pkgver=1 +pkgrel=1 +pkgdesc="Snigdha OS System Config!" +arch=('any') +url="https://github.com/$org/$_pkgname" +license=('MIT') +makedepends=('git') +depends=() +conflicts=('snigdhaos-system-config-next') +backup=('etc/pacman.d/gnupg/gpg.conf' 'etc/X11/xorg.conf.d/30-touchpad.conf') +provides=("${pkgname}") +options=( !strip !emptydirs ) +source=(${pkgname}::"git+https://github.com/${org}/${_pkgname}") +sha256sums=('SKIP') +install='${pkgname}.install' + +pkgver(){ + +} + +package() { + install -dm755 "$pkgdir/$_licensedir/$_pkgname" + install -m644 "$srcdir/$pkgname/LICENSE" "$pkgdir/$_licensedir/$_pkgname" + + install -dm755 "$pkgdir/$_destname1" + cp -r ${srcdir}/${pkgname}/${_destname1} ${pkgdir} + + install -dm755 "$pkgdir$_destname2" + cp -r ${srcdir}/${pkgname}/${_destname2} ${pkgdir} +} \ No newline at end of file