[arch-commits] Commit in musl/trunk (PKGBUILD)
Bartłomiej Piotrowski
bpiotrowski at archlinux.org
Tue Sep 9 19:33:40 UTC 2014
Date: Tuesday, September 9, 2014 @ 21:33:39
Author: bpiotrowski
Revision: 118719
upgpkg: musl 1.1.4-1
upgrade to the newest release
Modified:
musl/trunk/PKGBUILD
----------+
PKGBUILD | 36 +++++++++++++++---------------------
1 file changed, 15 insertions(+), 21 deletions(-)
Modified: PKGBUILD
===================================================================
--- PKGBUILD 2014-09-09 17:02:10 UTC (rev 118718)
+++ PKGBUILD 2014-09-09 19:33:39 UTC (rev 118719)
@@ -1,38 +1,32 @@
# $Id$
-# Maintainer: Sergej Pupykin <arch+pub at sergej.pp.ru>
-# Maintainer: TJ Vanderpoel <tj at rubyists>
+# Maintainer: Sergej Pupykin <arch+pub at sergej.pp.ru>
+# Contributor: TJ Vanderpoel <tj at rubyists>
pkgname=musl
-pkgver=1.0.4
+pkgver=1.1.4
pkgrel=1
-pkgdesc="An implementation of the C/POSIX standard library intended for use on Linux-based systems"
+pkgdesc='Lightweight implementation of C standard library'
arch=('i686' 'x86_64')
-url="http://www.musl-libc.org/"
+url='http://www.musl-libc.org/'
license=('MIT')
makedepends=('make')
-provides=('musl')
-conflicts=('musl-mainline')
-options=('staticlibs' '!buildflags' '!strip')
-source=(http://www.musl-libc.org/releases/$pkgname-$pkgver.tar.gz)
-md5sums=('f502c98800dfe02d063ca66a1aea5a3e')
+options=('staticlibs' '!buildflags')
+source=(http://www.musl-libc.org/releases/musl-$pkgver.tar.gz)
+md5sums=('f18f3bdbe088438cd64a5313c19a7312')
build() {
- cd "$srcdir/$pkgname-$pkgver"
-
- if [ "$CC" != "clang" ];then
- _my_flags="-fno-toplevel-reorder -fno-stack-protector"
- fi
- CFLAGS="${CFLAGS} $_my_flags" ./configure --prefix=/usr/lib/musl --exec-prefix=/usr
+ cd $pkgname-$pkgver
+ ./configure --prefix=/usr/lib/musl \
+ --exec-prefix=/usr
make
}
package() {
- cd "$srcdir/$pkgname-$pkgver"
+ cd $pkgname-$pkgver
+ make DESTDIR="$pkgdir" install
- make DESTDIR="$pkgdir/" install
-
- install -d -m0755 "$pkgdir/usr/lib/"
- mv "$pkgdir/lib/"ld-musl*.so* "$pkgdir/usr/lib/"
+ install -dm755 "$pkgdir"/usr/lib/
+ mv "$pkgdir"/lib/ld-musl*.so* "$pkgdir"/usr/lib/
rmdir "$pkgdir"/lib
install -Dm0644 README "$pkgdir"/usr/share/doc/musl/README
More information about the arch-commits
mailing list