-
Notifications
You must be signed in to change notification settings - Fork 0
/
PKGBUILD
30 lines (28 loc) · 944 Bytes
/
PKGBUILD
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
# Maintainer: Thomas Letan <[email protected]>
pkgname=nspawn
pkgver=6
pkgrel=1
pkgdesc='Helper to create systemd-nspawn containers'
url=https://github.com/lthms/nspawn
license=('MPL-2.0')
arch=('x86_64')
depends=(
'systemd'
)
source=(
'nspawn.zsh'
'init.sh'
'nspawn.template'
'zshprofile.template'
)
sha256sums=('ad82c793e3c02ad0d5dc3aa047d94d31c9eca55a5977fa35fd9ec855260a3b05'
'0ef333429fc826bc47fc634902cd9495e2386b6976b2aa85a14b945cf0cb213c'
'b092fc3300e6e85fa1be743701423b4c12b4f2d906850bfb3316b48cd414ff94'
'9d33ade41b246cad8d03458f97e3f64694cd615cbf19b80340e06e483614766f')
package() {
cd "$srcdir"
install -Dm 755 "nspawn.zsh" "$pkgdir/usr/bin/nspawn"
install -Dm 755 "init.sh" "$pkgdir/usr/share/nspawn/init.sh"
install -Dm 644 "nspawn.template" "$pkgdir/usr/share/nspawn/nspawn.template"
install -Dm 644 "zshprofile.template" "$pkgdir/usr/share/nspawn/zshprofile.template"
}