| 1 | # Contributor: Jan Tatje <[email protected]> |
| 2 | # Maintainer: Jan Tatje <[email protected]> |
| 3 | pkgname=epoch |
| 4 | pkgver=1.3.0 |
| 5 | pkgrel=3 |
| 6 | pkgdesc="The Epoch Init System is a small but powerful init system for Linux 2.6+." |
| 7 | url="https://universe2.us/epoch.html" |
| 8 | arch="all" |
| 9 | license="Unlicense" |
| 10 | options="!check" # epoch has no tests |
| 11 | # On arm builders: wget: can't connect to remote host: Connection refused |
| 12 | # Temporarily switch to a cached source for 1.3.0 |
| 13 | # source="http://universe2.us/epoch_$pkgver.tar.gz epoch.conf" |
| 14 | source="https://dev.alpinelinux.org/archive/epoch/epoch_$pkgver.tar.gz |
| 15 | epoch.conf" |
| 16 | builddir="$srcdir/${pkgname}_$pkgver" |
| 17 | |
| 18 | build() { |
| 19 | ./buildepoch.sh \ |
| 20 | --disable-backtraces |
| 21 | } |
| 22 | |
| 23 | package() { |
| 24 | # Use usr-merge |
| 25 | mv built/sbin/* built/bin/ |
| 26 | rmdir built/sbin |
| 27 | |
| 28 | mkdir -p $pkgdir/usr |
| 29 | cp -r built/* $pkgdir/usr/ |
| 30 | mkdir -p $pkgdir/etc/epoch |
| 31 | cp $srcdir/epoch.conf $pkgdir/etc/epoch/epoch.conf |
| 32 | } |
| 33 | |
| 34 | sha512sums=" |
| 35 | 1e4a8bee26d8819303cbeb67265ee74e294502acfb3f5e594222bb7bdcb2d077fe19e73c40e9111a6ef9af788d767434f5a9a357430b59d6a0cac0e36a3b8f9e epoch_1.3.0.tar.gz |
| 36 | 0ec063230441d2dd8cbefada9bd8121dae8cd77a309a093889028a0bedfe60eeef9a8fba4b174b5b9af512de2874a714e1e9bcdf4123e6108deda16dade2047e epoch.conf |
| 37 | " |