5 x86_64) ARCHITECTURE=amd64;;
6 i686) ARCHITECTURE=i386;;
7 i386) ARCHITECTURE=i386;;
10ARTIFACTS="${ARTIFACTS:-/artifacts}"
12VERSION=`$ARTIFACTS/pandoc --version | awk '{print $2; exit;}'`
13REVISION=${REVISION:-1}
14DEBVER=$VERSION-$REVISION
15BASE=pandoc-$DEBVER-$ARCHITECTURE
18COPYRIGHT=$DEST/share/doc/pandoc/copyright
20PANDOC_CITEPROC_VERSION=`$ARTIFACTS/pandoc-citeproc --version | awk '{print $2;}'`
23mkdir -p $DEST/share/man/man1
24mkdir -p $DEST/share/doc/pandoc
26mkdir -p $DEST/share/doc/pandoc-citeproc
27find $DIST -type d | xargs chmod 755
28cp $ARTIFACTS/pandoc $DEST/bin/
29cp $ARTIFACTS/pandoc-citeproc $DEST/bin/
31strip $DEST/bin/pandoc-citeproc
32cp man/pandoc.1 $DEST/share/man/man1/pandoc.1
33$ARTIFACTS/pandoc-citeproc --man > $DEST/share/man/man1/pandoc-citeproc.1
34gzip -9 $DEST/share/man/man1/pandoc.1
35gzip -9 $DEST/share/man/man1/pandoc-citeproc.1
37cp COPYRIGHT $COPYRIGHT
39echo "pandoc-citeproc" >> $COPYRIGHT
40$ARTIFACTS/pandoc-citeproc --license >> $COPYRIGHT
42INSTALLED_SIZE=$(du -k -s $DEST | awk '{print $1}')
44perl -pe "s/VERSION/$DEBVER/" linux/control.in | \
45 perl -pe "s/ARCHITECTURE/$ARCHITECTURE/" | \
46 perl -pe "s/INSTALLED_SIZE/$INSTALLED_SIZE/" \
47 > $DIST/DEBIAN/control
49fakeroot dpkg-deb --build $DIST
51cp $BASE.deb $ARTIFACTS/
keysesc to close
- j k
- move down, up
- enter
- open
- esc
- back, or up a level
- 1 2 3 4
- readme, files, commits, refs
- /
- filter
- y
- copy the clone command
- c
- compare the chosen commit with another (or shift-click both)
- ?
- show or hide this list