diff options
author | Jakub Jirutka <jakub@jirutka.cz> | 2018-04-03 17:05:34 +0200 |
---|---|---|
committer | Natanael Copa <ncopa@alpinelinux.org> | 2018-04-23 20:26:16 +0000 |
commit | dbbb3d0a24ca0854c1f77d97cc9545749c02cbf2 (patch) | |
tree | 184378bc6dd0a59d8f1400e373d389f18ac206bd /main/openrc | |
parent | 5e926e8f93c3c867d2a5bd3a91c4bf9bd8f2a6b0 (diff) | |
download | aports-dbbb3d0a24ca0854c1f77d97cc9545749c02cbf2.tar.bz2 aports-dbbb3d0a24ca0854c1f77d97cc9545749c02cbf2.tar.xz |
main/openrc: clarify license, fix code-style
Diffstat (limited to 'main/openrc')
-rw-r--r-- | main/openrc/APKBUILD | 7 |
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 |