Anatol Pomozov pushed to branch main at Arch Linux / Packaging / Packages / 
avr-libc


Commits:
c4145697 by Anatol Pomozov at 2024-02-27T14:36:53-08:00
Move home url to the new location at github.com

- - - - -


1 changed file:

- PKGBUILD


Changes:

=====================================
PKGBUILD
=====================================
@@ -8,24 +8,24 @@ pkgver=2.1.0
 pkgrel=3
 pkgdesc='The C runtime library for the AVR family of microcontrollers'
 arch=(any)
-url='https://savannah.nongnu.org/projects/avr-libc/'
+url='https://github.com/avrdudes/avr-libc'
 license=(BSD)
 depends=(avr-gcc)
 options=(!strip) # it corrupts avr libraries
-source=(https://download.savannah.gnu.org/releases/$pkgname/$pkgname-$pkgver.tar.bz2{,.sig})
-b2sums=('b17f3c4971221abe78d4f1d749c6f093e6fcf77b3435bc280af6025bf1c263a4d4d71c55c285ab7d7b458b361baa1d8b928f3ff706510c22b8c6d9f594c44abc'
-        'SKIP')
+_tag=avr-libc-${pkgver//./_}-release
+source=(https://github.com/avrdudes/avr-libc/archive/refs/tags/$_tag.tar.gz)
+b2sums=('a2256e20bd4069ca30e86148ddf366a49ff04ef28dcd69f760732419a8c3a7a0468624fb8a7519d3dd860a300f9335897e40de630033dbb869880e062048d3c6')
 validpgpkeys=('56628323218C669FF578705C7E9EADC3030D34EB') # Joerg Wunsch
 
 build() {
-  cd avr-libc-$pkgver
+  cd avr-libc-$_tag
   ./bootstrap
   ./configure --build=$(./config.guess) --host=avr --prefix=/usr
   make
 }
 
 package() {
-  cd avr-libc-$pkgver
+  cd avr-libc-$_tag
   make DESTDIR="$pkgdir" install
 
   install -Dm644 LICENSE "$pkgdir/usr/share/licenses/$pkgname/LICENSE"



View it on GitLab: 
https://gitlab.archlinux.org/archlinux/packaging/packages/avr-libc/-/commit/c4145697a385a2484a9e35a647e82b0ec8266901

-- 
View it on GitLab: 
https://gitlab.archlinux.org/archlinux/packaging/packages/avr-libc/-/commit/c4145697a385a2484a9e35a647e82b0ec8266901
You're receiving this email because of your account on gitlab.archlinux.org.


Reply via email to