59
60
61
62
63
64
65
66
67
68
69
70
71
72 | $(PACK) -u packfile -s src -t zip --zip-shebang "/usr/bin/env python" \
-f -p "$(NAME)-$(VERSION).pyz" --prefix=./ .zip.py st2.py
src:
cd .. && pax -wvJf streamtuner2/streamtuner2-$(VERSION).src.txz \
streamtuner2/*.{py,png,desktop} streamtuner2/channels/*.{py,png} \
streamtuner2/{bundle/,contrib/,help/,gtk3.xml.gz,NEWS,READ,PACK,PKG,CRED,Make,bin,.zip}*
# test .deb contents
check:
dpkg-deb -c streamtuner2*deb
dpkg-deb -I streamtuner2*deb
rpm -qpil *rpm
upload: |
>
>
>
>
>
>
| 59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78 | $(PACK) -u packfile -s src -t zip --zip-shebang "/usr/bin/env python" \
-f -p "$(NAME)-$(VERSION).pyz" --prefix=./ .zip.py st2.py
src:
cd .. && pax -wvJf streamtuner2/streamtuner2-$(VERSION).src.txz \
streamtuner2/*.{py,png,desktop} streamtuner2/channels/*.{py,png} \
streamtuner2/{bundle/,contrib/,help/,gtk3.xml.gz,NEWS,READ,PACK,PKG,CRED,Make,bin,.zip}*
snap: pyz
cp streamtuner2-*.pyz streamtuner2.pyz
zip snapcraft.zip streamtuner2.pyz
version read ./st2.py write:_raw_ dev/snapcraft.yaml
snapcraft
# test .deb contents
check:
dpkg-deb -c streamtuner2*deb
dpkg-deb -I streamtuner2*deb
rpm -qpil *rpm
upload: |