forked from archlinux/svntogit-packages
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
archrelease: copy trunk to testing-x86_64
git-svn-id: file:///srv/repos/svn-packages/svn@346985 eb2447ed-0c53-47e4-bac8-5bc4a241df78
- Loading branch information
1 parent
1b101ff
commit d8305d1
Showing
2 changed files
with
1,214 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,37 @@ | ||
# Maintainer: Bartłomiej Piotrowski <[email protected]> | ||
# Contributor: Dave Reisner <[email protected]> | ||
# Contributor: Thomas Bächler <[email protected]> | ||
|
||
pkgname=mkinitcpio-busybox | ||
pkgver=1.30.1 | ||
pkgrel=1 | ||
pkgdesc='Base initramfs tools' | ||
arch=(x86_64) | ||
url="http://www.busybox.net/" | ||
license=(GPL) | ||
depends=(glibc) | ||
options=(!buildflags) | ||
source=(https://busybox.net/downloads/busybox-$pkgver.tar.bz2{,.sig} | ||
config) | ||
sha256sums=('3d1d04a4dbd34048f4794815a5c48ebb9eb53c5277e09ffffc060323b95dfbdc' | ||
'SKIP' | ||
'e35b09565b87d0a35c8085b4d34477d8795d23fb969a674b5d7f9579279dd7d4') | ||
validpgpkeys=('C9E9416F76E610DBD09D040F47B70C55ACC9965B') # Denis Vlasenko <[email protected]> | ||
|
||
prepare() { | ||
cd "busybox-$pkgver" | ||
|
||
local safeflags="-march=${CARCH/_/-} -mtune=generic -Os -pipe -fno-strict-aliasing" | ||
|
||
sed 's|^\(CONFIG_EXTRA_CFLAGS\)=.*|\1="'"$safeflags"'"|' "$srcdir/config" > .config | ||
} | ||
|
||
build() { | ||
# reproducible build | ||
export KCONFIG_NOTIMESTAMP=1 | ||
make -C "busybox-$pkgver" | ||
} | ||
|
||
package() { | ||
install -Dm755 "$srcdir/busybox-$pkgver/busybox" "$pkgdir/usr/lib/initcpio/busybox" | ||
} |
Oops, something went wrong.