source: createDeb.sh.in @ 7fff9d2

Revision 7fff9d2, 966 bytes checked in by Marco Antonio Islas Cruz <markuz@…>, 4 years ago (diff)

Loving Christine

  • Property mode set to 100644
Line 
1#!/bin/bash
2
3destdir=/tmp/christine
4controlfile=$destdir/DEBIAN/control
5VERSION=@VERSION@
6ARCH=i386
7
8rm -rfv $destdir
9
10mkdir -p $destdir/DEBIAN/
11
12
13make install DESTDIR=$destdir
14
15echo ''> $controlfile
16echo 'Package: christine' >> $controlfile
17echo "Version: $VERSION" >> $controlfile
18echo 'Section: sound' >> $controlfile
19echo 'Priority: Optional' >> $controlfile
20echo "Architecture: $ARCH" >> $controlfile
21echo 'Essential: no' >> $controlfile
22echo 'Depends: python-mutagen,python-gtk2 (>=2.8),python-gst0.10(>=0.10), python-gnome2-extras' >> $controlfile
23echo 'Recommends: python-notify (>=0.1)' >> $controlfile
24echo 'Suggests: ' >> $controlfile
25echo 'Installed-Size: 1798' >> $controlfile
26echo 'Maintainer: Marco Islas [markuz@islascruz.org]' >> $controlfile
27echo 'Conflicts: ' >> $controlfile
28echo 'Replaces: ' >> $controlfile
29echo 'Description: Christine Media Player.' >> $controlfile
30echo '' >> $controlfile
31
32
33dpkg -b $destdir christine_"$VERSION"_"$ARCH".deb
Note: See TracBrowser for help on using the repository browser.