-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathPKGBUILD
28 lines (26 loc) · 799 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
# Maintainer: Stuffo <[email protected]>
pkgname=scaleway-archkernel-git
_pkgname=scaleway-archkernel
pkgver=r10.8e316b1
pkgrel=1
pkgdesc="boot default Arch kernel on Scaleway C1"
arch=('armv7h')
url="https://github.com/stuffo/scaleway-archkernel"
license=('BSD')
depends=('tftp-hpa'
'cpio'
'kexec-tools'
'linux'
'systemd')
source=("git+https://github.com/stuffo/scaleway-archkernel.git")
md5sums=(SKIP)
install=archkernel-load.install
pkgver() {
cd "${_pkgname}"
printf "r%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)"
}
package() {
cd "${srcdir}/${_pkgname}"
install -Dm644 archkernel-load.service "$pkgdir"/usr/lib/systemd/system/archkernel-load.service
install -Dm755 archkernel-load.sh "$pkgdir"/usr/bin/archkernel-load.sh
}