blob: 3f687b4d8c32a70188df3455f89661d086d5c1c3 (
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
|
# Contributor: nfnty
pkgname=tini
pkgdesc='A tiny but valid `init` for containers'
pkgver=0.19.0
pkgrel=1
arch=('i686' 'x86_64')
url="https://github.com/krallin/${pkgname}"
license=('MIT')
depends=('glibc')
makedepends=('git' 'cmake')
source=("git+${url}.git#tag=v${pkgver}")
sha512sums=('326fd3c64a1f80abb4a3824b0c1bf0e8ea29fed0afe4d4159508bd39f2159282675b7c0eda4a3c3ec49833295418f1bd436afc9a18dcd37ba31fe5aeb98c1635')
build() {
cd "${pkgname}"
cmake -DCMAKE_INSTALL_PREFIX='/usr' .
make
}
package() {
cd "${pkgname}"
make DESTDIR="${pkgdir}" install
rm "${pkgdir}/usr/bin/tini-static"
}
|