1 # Contributor: Thomas Haider <t.haider@vcnc.org>
5 pkgdesc="Allows validating integrity of bootpartition upon startup/resume"
7 url="http://alon.barlev.googlepages.com/utilities"
9 depends=('perl-digest-sha' 'hibernate-script')
11 install=$pkgname.install
12 source=(http://alon.barlev.googlepages.com/$pkgname-$pkgver.tar.bz2 \
14 bootdigest.scriptlet \
16 md5sums=('c59ea10fec9e26ea607ff17ce5982f36'
17 '247d28f29954c0b80d638c16a2c3a8a1'
18 '81f3f0e2eb40552db5477e59a6d6b70c'
19 'b3fed9decdb14d5cea5a660ffa6e6ac4')
23 cd $startdir/src/$pkgname-$pkgver
24 ./configure --prefix=/usr --digest=SHA-256
27 make DESTDIR=$startdir/pkg install
29 install -D -m755 $startdir/src/boot-digest.rcd $startdir/pkg/etc/rc.d/boot-digest
30 install -D -m644 $startdir/src/bootdigest.scriptlet $startdir/pkg/usr/share/hibernate/scriptlets.d/bootdigest
31 install -D -m644 LICENSE $startdir/pkg/usr/share/licenses/$pkgname/LICENSE