summaryrefslogtreecommitdiff
path: root/community/busybox/PKGBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'community/busybox/PKGBUILD')
-rw-r--r--community/busybox/PKGBUILD20
1 files changed, 16 insertions, 4 deletions
diff --git a/community/busybox/PKGBUILD b/community/busybox/PKGBUILD
index fd2ab4bd3..cc86c766a 100644
--- a/community/busybox/PKGBUILD
+++ b/community/busybox/PKGBUILD
@@ -1,21 +1,33 @@
-# $Id: PKGBUILD 104422 2014-01-20 13:27:29Z spupykin $
+# $Id: PKGBUILD 112467 2014-06-02 10:55:16Z spupykin $
# Maintainer: Sergej Pupykin <pupykin.s+arch@gmail.com>
# Contributor: Jens Pranaitis <jens@jenux.homelinux.org>
pkgname=busybox
pkgver=1.22.1
-pkgrel=1
+pkgrel=2
pkgdesc="Utilities for rescue and embedded systems"
arch=("i686" "x86_64")
url="http://www.busybox.net"
license=('GPL')
makedepends=("make" "gcc" "sed" "ncurses")
-source=($url/downloads/$pkgname-$pkgver.tar.bz2
- config)
+source=("$url/downloads/$pkgname-$pkgver.tar.bz2"
+ http://busybox.net/downloads/fixes-$pkgver/busybox-$pkgver-{ash,date,iplink,nc}.patch
+ "config")
install=busybox.install
md5sums=('337d1a15ab1cb1d4ed423168b1eb7d7e'
+ '538d8cddbdfc449239b25a40bc8d1575'
+ 'bc381f9ceb3824141c968f5bc4353943'
+ '24686ec2750a8703feb57fc9c6aaed1d'
+ '69eecaae5f812d08655dfdf34b60503f'
'e7c697e37b2120f0e0a354c48180cde4')
+prepare() {
+ cd "$srcdir/$pkgname-$pkgver"
+ for i in $srcdir/*.patch; do
+ patch -p1 <$i
+ done
+}
+
build() {
cd "$srcdir/$pkgname-$pkgver"
cp $srcdir/config .config