42 lines
1.4 KiB
Bash
42 lines
1.4 KiB
Bash
# Maintainer: Yi-Ting Shih <ytshih@konchin.com>
|
|
pkgname=hl-base-env
|
|
pkgver=1.0.3
|
|
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"
|
|
"61-$pkgname.hook"
|
|
'install.sh'
|
|
'90-editor.sh'
|
|
'hl-rootca.crt'
|
|
'timesyncd.conf'
|
|
)
|
|
|
|
package() {
|
|
cd "$srcdir"
|
|
|
|
install -Dm644 "60-$pkgname.conf" "$pkgdir/etc/systemd/resolved.conf.d/60-$pkgname.conf"
|
|
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 timesyncd.conf "$pkgdir/etc/systemd/timesyncd.conf.d/$pkgname.conf"
|
|
}
|
|
sha256sums=('164d84a6db866f8445d8cd2b92a6513de4b8fd0204e4d127432416f13032890b'
|
|
'453cbec2e5fa38ac9ef618d3254ba4f5fc8aacdc8bb1f17dad00f6089680d580'
|
|
'9d3f3962e7088ed30962d171536d81e042169ee5c3c46e3f7995eb53b27e71f5'
|
|
'8df871b1727d147ecc410de3aa6cf24e5bf046f1bfb4b600b60c40acd6c4fa9a'
|
|
'1bcae0144eb86eae3948eae7299c99f0b1fc53d0f47884da6dfcaddab503a382'
|
|
'2e24060a81df174639d4f3743b42d1cde191724292fa5bd2433d088d7f49b4f9')
|