blob: c1ded0b8e171d70143909ba228b63f2e529b4679 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
|
#!/bin/bash
# Script to automate building of littler packages for Debian.
# Author: Johannes Ranke <jranke@uni-bremen.de>
#DEBEMAIL=jranke@uni-bremen.de
#DEBFULLNAME="Johannes Ranke"
text="Recompiled on etch for CRAN"
for i in littler; do
cd $i
rm -rf $i*
rm *.deb
apt-get source -t unstable $i
cd $i-*
version=`dpkg-parsechangelog | grep ^Version | cut -f2 -d " "`~etchcran.1
dch -b -v $version -D etch-cran $text
fakeroot dpkg-buildpackage -sa
cd ../..
done
|