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