blob: 399c442b50ce23a0e8eaea642a89d832201886c1 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
|
pkgname=mkinitcpio-overlayfs
pkgver=r3.6111251
pkgrel=1
pkgdesc="mkinitcpio hook for overlayfs"
url="https://github.com/felixsinger/mkinitcpio-overlayfs"
arch=(any)
license=('GPL3')
makedepends=('git')
depends=()
source=("git+https://github.com/felixsinger/mkinitcpio-overlayfs.git")
sha512sums=('SKIP')
pkgver() {
cd ${srcdir}/${pkgname}
printf "r%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)"
}
package() {
install -m755 -D ${srcdir}/${pkgname}/${pkgname}.install ${pkgdir}/usr/lib/initcpio/install/overlayfs
install -m755 -D ${srcdir}/${pkgname}/${pkgname}.hook ${pkgdir}/usr/lib/initcpio/hooks/overlayfs
}
|