48 lines
1.7 KiB
Bash
48 lines
1.7 KiB
Bash
# Maintainer: Yi-Ting Shih <ytshih@konchin.com>
|
|
pkgname=hl-base-env
|
|
pkgver=1.1.5
|
|
pkgrel=1
|
|
pkgdesc="Base environment for konchin.com homelab"
|
|
arch=(any)
|
|
url="https://gitea.konchin.com/package/hl-base-env"
|
|
license=('0BSD')
|
|
depends=(
|
|
'vim'
|
|
'p11-kit'
|
|
'ca-certificates-utils'
|
|
'systemd'
|
|
'tzdata'
|
|
)
|
|
install="$pkgname.install"
|
|
source=(
|
|
"60-$pkgname.conf"
|
|
"60-$pkgname.preset"
|
|
"61-$pkgname.hook"
|
|
'install.sh'
|
|
'90-editor.sh'
|
|
'hl-rootca.crt'
|
|
'hl-package.pem'
|
|
'timesyncd.conf'
|
|
)
|
|
|
|
package() {
|
|
cd "$srcdir"
|
|
|
|
install -Dm644 "60-$pkgname.conf" "$pkgdir/etc/systemd/resolved.conf.d/60-$pkgname.conf"
|
|
install -Dm644 "60-$pkgname.preset" "$pkgdir/etc/systemd/system-preset/60-$pkgname.preset"
|
|
install -Dm644 "61-$pkgname.hook" "$pkgdir/etc/pacman.d/hooks/61-$pkgname.hook"
|
|
install -Dm755 install.sh "$pkgdir/usr/lib/$pkgname/install.sh"
|
|
install -Dm644 90-editor.sh "$pkgdir/etc/profile.d/90-editor.sh"
|
|
install -Dm644 hl-rootca.crt "$pkgdir/usr/share/$pkgname/hl-rootca.crt"
|
|
install -Dm644 hl-package.pem "$pkgdir/usr/share/$pkgname/hl-package.pem"
|
|
install -Dm644 timesyncd.conf "$pkgdir/etc/systemd/timesyncd.conf.d/$pkgname.conf"
|
|
}
|
|
sha256sums=('164d84a6db866f8445d8cd2b92a6513de4b8fd0204e4d127432416f13032890b'
|
|
'e2fdc89ad2b5c5a156cac3b1d571645617a4e62bbb898d1cb067bbf7dbac1fa9'
|
|
'60f8e5f6420163be4489c15f4c1e936b5b728005f18fd5e7fa4f711789fd990b'
|
|
'9d3f3962e7088ed30962d171536d81e042169ee5c3c46e3f7995eb53b27e71f5'
|
|
'8df871b1727d147ecc410de3aa6cf24e5bf046f1bfb4b600b60c40acd6c4fa9a'
|
|
'1bcae0144eb86eae3948eae7299c99f0b1fc53d0f47884da6dfcaddab503a382'
|
|
'986eaa2445c51d8d81023c9c7280b27785ec9f0513bcf9d8601ed8a8aad2c0c6'
|
|
'2e24060a81df174639d4f3743b42d1cde191724292fa5bd2433d088d7f49b4f9')
|