summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 3f14b91356533cd24cfbfca05f4c59e2d232f6e8 (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: Axel Hinrichs <hinrichs@bitscape.de>

pkgname=catatonit
pkgver=0.1.4
pkgrel=2
pkgdesc="A container init that is so simple it's effectively brain-dead."
arch=('x86_64')
url="http://github.com/openSUSE/catatonit/"
license=('GPL3')

source=("https://github.com/openSUSE/catatonit/releases/download/v$pkgver/$pkgname.tar.xz")
sha256sums=('5b6dab80839b4246484ca861764899cbc21eecaff4740d2cb6a0463bc70bf63b')

build() {
  cd "$pkgname-$pkgver"

  autoreconf -fi
  ./configure --prefix=/usr
  make
  strip $pkgname
}

package() {
  cd "$pkgname-$pkgver"

  make PREFIX=/usr DESTDIR="$pkgdir" install
  install -d "${pkgdir}/usr/libexec/podman/"
  ln -s /usr/bin/$pkgname "${pkgdir}/usr/libexec/podman/"
}

# vim: ft=sh syn=sh