blob: 55940f0fc24483d1c474c5e7fe73f914a513ff61 (
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
|
# Maintainer: Gavin Lloyd <gavinhungry@gmail.com>
pkgname=skul-git
pkgver=0.45.abb5379
pkgrel=2
pkgdesc="Create, format and mount loopback-based, encrypted LUKS containers"
url="https://github.com/gavinhungry/skul"
license=('MIT')
arch=('any')
makedepends=('git')
depends=('cryptsetup' 'e2fsprogs' 'udisks2')
source=("${pkgname}::git+${url}.git")
sha256sums=('SKIP')
pkgver () {
cd "${srcdir}/${pkgname}"
echo "0.$(git rev-list --count HEAD).$(git describe --always | sed 's|-|.|g')"
}
package() {
cd "${srcdir}/${pkgname}"
git submodule init
git submodule update
mkdir -p ${pkgdir}/usr/bin
install -m 755 abash/abash.sh ${pkgdir}/usr/bin/skul
echo >> ${pkgdir}/usr/bin/skul
cat skul.sh >> ${pkgdir}/usr/bin/skul
}
|