summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: c463ef622866f6ad269755588a4be411fd42b505 (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
# Maintainer: Tamvana Makuluni <sw@makuluni.com>
pkgname=uki-script
pkgver=1.0.1
pkgrel=1
pkgdesc="A simple bash script and pacman hook to create unified kernel images."
arch=('any')
url="https://www.github.com/emakman/unified-kernel-image-script"
license=('CC0')
groups=()
depends=('bash' 'coreutils' 'binutils' 'sbsigntools' 'sed')
optdependes=('systemd: for default EFI stub and splash image')
makedepends=('git')
provides=()
conflicts=()
replaces=()
backup=()
options=()
install=
source=('uki-script::git+http://www.github.com/emakman/unified-kernel-image-script')
noextract=()
md5sums=('SKIP')

pkgver() {
	cd "$srcdir/uki-script"
    awk -e'/# v/ {print substr($2,2)}' uki-script
}

package() {
	cd "$srcdir/uki-script"
	DESTDIR="$pkgdir/" ./install
}