mirror of
https://github.com/Snigdha-OS/snigdhaos-pkgbuilds.git
synced 2025-09-22 20:45:00 +02:00
chore(add): script for snigdha os system installer config
This commit is contained in:
26
snigdhaos-calamares-config/PKGBUILD
Normal file
26
snigdhaos-calamares-config/PKGBUILD
Normal file
@@ -0,0 +1,26 @@
|
|||||||
|
# Maintainer: Eshan Roy <eshan@snigdhaos.org>
|
||||||
|
|
||||||
|
pkgname=snigdhaos-calamares-config
|
||||||
|
_pkgname=snigdhaos-calamares-config
|
||||||
|
_destname="/etc/calamares"
|
||||||
|
_licensedir="/usr/share/snigdhaos/licenses/"
|
||||||
|
pkgver=1
|
||||||
|
pkgrel=1
|
||||||
|
pkgdesc="Snigdha OS calamares Config"
|
||||||
|
arch=('any')
|
||||||
|
url="https://github.com/Snigdha-OS/${_pkgname}"
|
||||||
|
license=('MIT')
|
||||||
|
makedepends=('git')
|
||||||
|
depends=()
|
||||||
|
conflicts=()
|
||||||
|
provides=("${pkgname}")
|
||||||
|
options=(!strip !emptydirs)
|
||||||
|
source=(${_pkgname}::"git+$url")
|
||||||
|
sha256sums=('SKIP')
|
||||||
|
install="${_pkgname}.install"
|
||||||
|
package() {
|
||||||
|
mkdir -p "${pkgdir}${_licensedir}${_pkgname}"
|
||||||
|
mv "${srcdir}/${_pkgname}/"LICENSE "${pkgdir}${_licensedir}${_pkgname}/LICENSE"
|
||||||
|
mkdir -p "${pkgdir}${_destname}"
|
||||||
|
cp -r "${srcdir}/${_pkgname}/calamares/"* "${pkgdir}${_destname}"
|
||||||
|
}
|
Reference in New Issue
Block a user