Skip to content

Commit

Permalink
archrelease: copy trunk to testing-x86_64
Browse files Browse the repository at this point in the history
git-svn-id: file:///srv/repos/svn-packages/svn@346985 eb2447ed-0c53-47e4-bac8-5bc4a241df78
  • Loading branch information
grazzolini committed Mar 1, 2019
1 parent 1b101ff commit d8305d1
Show file tree
Hide file tree
Showing 2 changed files with 1,214 additions and 0 deletions.
37 changes: 37 additions & 0 deletions mkinitcpio-busybox/repos/testing-x86_64/PKGBUILD
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"
}
Loading

0 comments on commit d8305d1

Please sign in to comment.