aboutsummaryrefslogtreecommitdiffstats
path: root/testing/beard/APKBUILD
blob: d93768f2b4f411b10539a873507118cf08ac7b46 (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
# Contributor: Andrew Hills <ahills@ednos.net>
# Maintainer: Andrew Hills <ahills@ednos.net>
pkgname=beard
pkgver=0.1
pkgrel=0
pkgdesc="Simple hibernation daemon"
url="https://github.com/ahills/beard"
arch="noarch"
license="Public Domain"
depends="pm-utils"
depends_dev=""
makedepends="$depends_dev"
install=""
subpackages="$pkgname-doc"
source="saveas-https://github.com/ahills/beard/archive/v$pkgver.tar.gz/$pkgname-$pkgver.tar.gz"

_builddir="$srcdir/$pkgname-$pkgver"

build() {
	return 0
}

package() {
	cd "$_builddir"
	mkdir -p "$pkgdir"/etc/init.d \
		 "$pkgdir"/etc/conf.d
	make PREFIX=/usr DESTDIR="$pkgdir" openrc install
}

md5sums="233f91584a05031cdeb55c0538b24d58  beard-0.1.tar.gz"
sha256sums="a9138969aa4024b9a803d7b99d0a0a5ff913680c045b5d8b3be781752254cbfe  beard-0.1.tar.gz"
sha512sums="8e9816f4eafd63152329ae59c1efa675004b9bba81540aaa451b0c6cc27d30831610e42a926c2d19238f11dab2ffcb96d19d49cd638a50aec86a75b6d882c2bc  beard-0.1.tar.gz"