blob: f1b82e39ad3f4a7342efd46de3902b1791d51ee6 (
plain)
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
31
32
33
34
35
36
37
38
39
40
41
|
# Maintainer: honjow <honjow@gmail.com>
pkgname=frzr-sk
_pkgname=frzr
pkgver=0.15.2.sk13
pkgrel=1
pkgdesc="A deployment and update system for read-only btrfs subvolume based operating systems"
arch=('any')
provides=('frzr')
conflicts=('frzr')
url="https://github.com/honjow/frzr"
license=('MIT')
depends=('btrfs-progs' 'parted' 'libnewt' 'dosfstools' 'jq' 'util-linux' 'dmidecode' 'zstd' 'xz' 'aria2')
_tag=0.15.2.sk13
source=("git+$url#tag=${_tag}")
md5sums=('SKIP')
backup=('etc/frzr-sk.conf')
pkgver() {
cd "$srcdir/$_pkgname"
# printf "r%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)"
git describe --long --tags | sed 's/\([^-]*-g\)/r\1/;s/-/./g'
}
package() {
mkdir -p "$pkgdir/usr/bin"
mkdir -p "$pkgdir/etc/systemd/system"
install -m 755 "$srcdir/$_pkgname/frzr-bootstrap" "$pkgdir/usr/bin"
install -m 755 "$srcdir/$_pkgname/frzr-deploy" "$pkgdir/usr/bin"
install -m 755 "$srcdir/$_pkgname/__frzr-deploy" "$pkgdir/usr/bin"
install -m 755 "$srcdir/$_pkgname/frzr-release" "$pkgdir/usr/bin"
install -m 755 "$srcdir/$_pkgname/frzr-unlock" "$pkgdir/usr/bin"
install -m 755 "$srcdir/$_pkgname/frzr-initramfs" "$pkgdir/usr/bin"
install -m 755 "$srcdir/$_pkgname/frzr-tweaks" "$pkgdir/usr/bin"
install -m 644 "$srcdir/$_pkgname/frzr-autoupdate.service" "$pkgdir/etc/systemd/system"
install -m 644 "$srcdir/$_pkgname/frzr-autoupdate.timer" "$pkgdir/etc/systemd/system"
install -dm755 "$pkgdir/etc"
install -m644 -t "$pkgdir/etc" "$srcdir/$_pkgname/etc"/*.conf
}
|