aboutsummaryrefslogtreecommitdiffstats
path: root/main/openrc/APKBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'main/openrc/APKBUILD')
-rw-r--r--main/openrc/APKBUILD7
1 files changed, 4 insertions, 3 deletions
diff --git a/main/openrc/APKBUILD b/main/openrc/APKBUILD
index bbc0aca2fb..c29af3ff9a 100644
--- a/main/openrc/APKBUILD
+++ b/main/openrc/APKBUILD
@@ -6,8 +6,7 @@ pkgrel=6
pkgdesc="OpenRC manages the services, startup and shutdown of a host"
url="https://gitweb.gentoo.org/proj/openrc.git"
arch="all"
-license='BSD-2'
-depends=""
+license="BSD-2-Clause"
makedepends="bsd-compat-headers"
subpackages="$pkgname-doc $pkgname-dev"
install="$pkgname.post-install $pkgname.post-upgrade"
@@ -31,8 +30,8 @@ source="$pkgname-$pkgver.tar.gz::https://github.com/OpenRC/openrc/archive/$pkgve
modloop.confd
sysfsconf.initd
"
-
builddir="$srcdir/$pkgname-$_ver"
+
prepare() {
default_prepare
sed -i -e '/^sed/d' "$builddir"/pkgconfig/Makefile
@@ -44,6 +43,8 @@ build() {
}
package() {
+ local i j
+
cd "$builddir"
make LIBEXECDIR=/lib/rc DESTDIR="$pkgdir/" install