-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathPKGBUILD
37 lines (34 loc) · 1.37 KB
/
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
29
30
31
32
33
34
35
36
37
# Maintainer: Julian Sanin <[email protected]>
# Contributor: Daniele Gadler <[email protected]>
pkgname=mkinitcpio-multiflash
pkgver=1.0.4
pkgrel=1
arch=('armv6h' 'armv7h')
license=('MIT')
depends=('mkinitcpio'
'mkinitcpio-nfs-utils'
'bc')
install="${pkgname}.install"
source=('LICENSE'
'whereisip.c'
'hooks-multiflash'
'install-multiflash'
'mkinitcpio-multiflash.service'
'rc.local.mkinitcpio-multiflash')
md5sums=('cefb772e5780b0fa3b7bbc09097e0ede'
'b9afc4d03376a9184a09ee3b169aaff3'
'84373e8da1e7ec819640d9590fecc5bb'
'c2b88ab56fc7914a092f3709c164f212'
'e8602c851f55b034bf4110c34347260b'
'928bd9e1d2f1520602fcf4d3a9aa60e1')
build() {
gcc -o whereisip -Os whereisip.c
}
package() {
install -o root -g root -Dm755 whereisip "${pkgdir}/usr/bin/whereisip"
install -o root -g root -Dm644 hooks-multiflash "${pkgdir}/usr/lib/initcpio/hooks/multiflash"
install -o root -g root -Dm644 install-multiflash "${pkgdir}/usr/lib/initcpio/install/multiflash"
install -o root -g root -Dm644 LICENSE "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
install -o root -g root -Dm644 mkinitcpio-multiflash.service "${pkgdir}/etc/systemd/system/mkinitcpio-multiflash.service"
install -o root -g root -Dm755 rc.local.mkinitcpio-multiflash "${pkgdir}/etc/rc.local.mkinitcpio-multiflash"
}