# 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 }