updated on Sat Jan 14 00:11:12 UTC 2012
[aur-mirror.git] / sam_i_am / PKGBUILD
blob963ec9e3057cab1e9e10f5dd1bc00b8b8f2ea9b0
1 # Contributor: Jari
3 pkgname=sam_i_am
4 pkgver=0.5
5 pkgrel=1
6 pkgdesc="Sam_I_Am is a program for interacting with an Atmel AT91SAM7S microcontroller running the SAM-BA monitor program."
7 arch=(any)
8 url="http://claymore.engineer.gvsu.edu/~steriana/Software/Sam_I_Am/"
9 license=('GPL')
10 depends=('python')
11 makedepends=()
12 provides=()
13 conflicts=()
14 replaces=()
15 backup=()
16 options=(!emptydirs)
17 install=
18 source=("http://claymore.engineer.gvsu.edu/~steriana/Software/Sam_I_Am-${pkgver}.tar.gz")
19 md5sums=('99e1c4e2c0d7e340fc56b4f94da9283d')
21 package() {
22   cd "$srcdir/Sam_I_Am-$pkgver"
23   python2 setup.py install --root="$pkgdir/" --optimize=1
24   sed -i 's/^python/python2/g' $pkgdir/usr/bin/Sam_I_Am
25   chmod +x $pkgdir/usr/bin/Sam_I_Am