mirror of
https://github.com/Snigdha-OS/snigdhaos-pkgbuilds.git
synced 2025-09-21 20:14:59 +02:00
Add PKGBUILD
This commit is contained in:
40
common/snigdhaos-bootloader-systemd/PKGBUILD
Normal file
40
common/snigdhaos-bootloader-systemd/PKGBUILD
Normal file
@@ -0,0 +1,40 @@
|
|||||||
|
# Maintainer: Eshan Roy <eshan@snigdhaos.org>
|
||||||
|
pkgname=snigdhaos-bootloader-systemd
|
||||||
|
org=Snigdha-OS
|
||||||
|
branch='master'
|
||||||
|
_destination1="/etc/pacman.d/hooks"
|
||||||
|
_licensedir="/usr/share/snigdhaos/licenses/"
|
||||||
|
pkgver=1
|
||||||
|
pkgrel=1
|
||||||
|
pkgdesc="Snigdha OS Config File"
|
||||||
|
arch=(
|
||||||
|
'any'
|
||||||
|
)
|
||||||
|
url="https://snigdhaos.org/"
|
||||||
|
license=('MIT')
|
||||||
|
makedepends=()
|
||||||
|
depends=()
|
||||||
|
conflicts=(
|
||||||
|
'snigdhaos-bootloader-systemd-dev'
|
||||||
|
)
|
||||||
|
backup=()
|
||||||
|
provides=(
|
||||||
|
'${pkgname}'
|
||||||
|
'${pkgname}-dev'
|
||||||
|
)
|
||||||
|
source=("$pkgname.tar.gz")
|
||||||
|
sha256sums=(
|
||||||
|
'SKIP'
|
||||||
|
)
|
||||||
|
|
||||||
|
pkgver() {
|
||||||
|
printf "r%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)"
|
||||||
|
}
|
||||||
|
|
||||||
|
package(){
|
||||||
|
install -dm755 "$pkgdir/$_licensedir/$pkgname"
|
||||||
|
install -m644 "$srcdir/$pkgname/LICENSE" "$pkdir/$_licensedir/$pkgname"
|
||||||
|
|
||||||
|
install -dm755 "$pkgdir/$_destination1"
|
||||||
|
cp -r ${srcdir}/${pkgname}/${_destination1}/* ${pkgdir}/${_destination1}
|
||||||
|
}
|
Reference in New Issue
Block a user