From 5211e23d484d82d06e1d32ee4b75ebe726e7b4cb Mon Sep 17 00:00:00 2001 From: Luke Shumaker Date: Mon, 20 Aug 2018 15:27:40 -0400 Subject: pcr/netifrc: Update 0.6.{0→1}, fix up MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - Update to 0.6.1 - groups=('base-openrc'), not 'openrc-base' - Add pcr/gentoo-functions as a separate package, rather than vendoring it - Depend on generic 'udev' stuff, rather than 'eudev' - install= is NOT WHERE DOCUMENTATION BELONGS - Use git tag signature verification pcr/gentoo-functions: - Is GPLv2, not 2-clause BSD - Don't inexplicably install to /usr/lib/parabola instead of /usr/lib/gentoo --- pcr/gentoo-functions/PKGBUILD | 31 +++++++++++++++++++++++++++++++ 1 file changed, 31 insertions(+) create mode 100644 pcr/gentoo-functions/PKGBUILD (limited to 'pcr/gentoo-functions/PKGBUILD') diff --git a/pcr/gentoo-functions/PKGBUILD b/pcr/gentoo-functions/PKGBUILD new file mode 100644 index 000000000..7ae9d92f0 --- /dev/null +++ b/pcr/gentoo-functions/PKGBUILD @@ -0,0 +1,31 @@ +# Maintainer (Manjaro): artoo +# Contributor (Manjaro): williamh +# Maintainer: Omar Vega Ramos +# Contributor: Luke Shumaker + +# Gentoo's ebuild file: +# https://gitweb.gentoo.org/repo/gentoo.git/tree/sys-apps/gentoo-functions/gentoo-functions-9999.ebuild +pkgname=gentoo-functions +pkgver=0.12 +pkgrel=1 +pkgdesc="Base functions for Gentoo systems" +arch=('i686' 'x86_64' 'armv7h') +url="https://github.com/gentoo/$pkgname" +license=('GPL2') +source=("$pkgname-$pkgver.tar.gz::https://github.com/gentoo/${pkgname}/archive/${pkgver}.tar.gz") +sha256sums=('4a6ddb1d8be7b52aae68761fb26546663b6b0e74b155df263cddfbfa72373965') + +_makeargs=( + ROOTPREFIX=/usr + ROOTSBINDIR=/usr/bin +) + +build(){ + cd "$srcdir/$pkgname-$pkgver" + make "${_makeargs[@]}" +} + +package() { + cd "$srcdir/$pkgname-$pkgver" + make DESTDIR="${pkgdir}" "${_makeargs[@]}" install +} -- cgit v1.2.3