blob: 2afaf4bb4e4c5213e3470e01aaf9dee3a89ea572 (
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
32
|
# Maintainer: Andreas Baumann <mail@andreasbaumann.cc>
pkgname=uinit
pkgver=20171230git
_commit=8c11abef
pkgrel=1
pkgdesc="uinit -- smallest init possible"
arch=('i686' 'x86_64')
url="https://github.com/shiftypenguin/uinit"
license=('custom:unlicense')
makedepends=('git')
source=("git+https://github.com/shiftypenguin/uinit.git#commit=${_commit}")
sha512sums=('SKIP')
build() {
cd "${srcdir}/${pkgname}"
make CFLAGS="${CFLAGS}"
}
package(){
cd "${srcdir}/${pkgname}"
install -d -m0755 ${pkgdir}/{usr/bin,sbin}
make DESTDIR="${pkgdir}" install
install -Dm644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
mv ${pkgdir}/sbin/* ${pkgdir}/usr/bin/.
rmdir ${pkgdir}/sbin
}
|