[arch-commits] Commit in avr-libc/trunk (PKGBUILD)

Anatol Pomozov anatolik at archlinux.org
Mon Jul 27 21:33:28 UTC 2015


    Date: Monday, July 27, 2015 @ 23:33:28
  Author: anatolik
Revision: 137528

upgpkg: avr-libc 1.8.1-4

Modified:
  avr-libc/trunk/PKGBUILD

----------+
 PKGBUILD |   33 +++++++++++++++++----------------
 1 file changed, 17 insertions(+), 16 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2015-07-27 21:33:23 UTC (rev 137527)
+++ PKGBUILD	2015-07-27 21:33:28 UTC (rev 137528)
@@ -6,29 +6,30 @@
 
 pkgname=avr-libc
 pkgver=1.8.1
-pkgrel=2
-pkgdesc="The C runtime library for the AVR family of microcontrollers"
-arch=('any')
-url="http://savannah.nongnu.org/projects/avr-libc/"
-license=('BSD')
-depends=('avr-gcc')
-options=('!strip')
-source=(http://download.savannah.gnu.org/releases/$pkgname/$pkgname-$pkgver.tar.bz2{,.sig})
-md5sums=('0caccead59eaaa61ac3f060ca3a803ef'
-         'SKIP')
+pkgrel=4
+pkgdesc='The C runtime library for the AVR family of microcontrollers'
+arch=(any)
+url='http://savannah.nongnu.org/projects/avr-libc/'
+license=(BSD)
+depends=(avr-gcc)
+makedepends=(subversion)
+options=(!strip) # it corrupts avr libraries
+# 1.8.1 does not support gcc-5.1 http://savannah.nongnu.org/bugs/?44869
+source=(svn://svn.sv.gnu.org/avr-libc/trunk/avr-libc#revision=2480)
+#source=(http://download.savannah.gnu.org/releases/$pkgname/$pkgname-$pkgver.tar.bz2{,.sig})
+md5sums=('SKIP')
 validpgpkeys=('5E84F980C3CAFD4BB5841070F48CA81B69A85873') # Joerg Wunsch
 
 build() {
-  cd "${pkgname}-${pkgver}"
+  cd $pkgname
+  ./bootstrap
   ./configure --build=$(./config.guess) --host=avr --prefix=/usr
   make
 }
 
 package() {
-  cd "${pkgname}-${pkgver}"
-  make DESTDIR="${pkgdir}" install
+  cd $pkgname
+  make DESTDIR="$pkgdir" install
 
-  install -Dm644 LICENSE "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
+  install -Dm644 LICENSE "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
 }
-
-# vim:set ts=2 sw=2 et:



More information about the arch-commits mailing list