blob: 431fe92e8d53d29b11501fbf96471068c54115c5 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
|
# $Id: PKGBUILD,v 1.5 2009/07/12 18:22:32 cprimier Exp $
# Maintainer: jhbruhn <aur@jhbruhn.de>
# Contributor: Corrado Primier <bardo@aur.archlinux.org>
# Contributor: danst0 <danst0@west.de>
_pkgname=avr-libc
pkgname=$_pkgname-18
pkgver=1.8.1
pkgrel=1
pkgdesc="The C runtime library for the AVR family of microcontrollers"
provides=("$_pkgname=$pkgver")
conflicts=("$_pkgname")
arch=('i686' 'x86_64')
url="http://savannah.nongnu.org/projects/avr-libc/"
license=('BSD')
depends=('avr-gcc')
options=(!strip)
source=(http://savannah.nongnu.org/download/avr-libc/${_pkgname}-${pkgver}.tar.bz2)
md5sums=('0caccead59eaaa61ac3f060ca3a803ef')
build() {
cd ${srcdir}/${_pkgname}-${pkgver}
./configure --build=$(./config.guess) --host=avr --prefix=/usr
make || return 1
}
package() {
cd ${srcdir}/${_pkgname}-${pkgver}
make DESTDIR=${pkgdir} install || return 1
install -Dm644 ${srcdir}/${_pkgname}-${pkgver}/LICENSE \
${pkgdir}/usr/share/licenses/${_pkgname}/COPYING
}
# vim:set ts=2 sw=2 et:
|