crack-attack: xlint.

This commit is contained in:
Christian Neukirchen 2014-11-23 15:43:35 +01:00
parent 9ff6f9fbe4
commit bd5271508e
1 changed files with 12 additions and 12 deletions

View File

@ -19,21 +19,21 @@ distfiles="http://kojipkgs.fedoraproject.org/packages/${pkgname}/${version}/28.f
checksum="6fb2ad5a1dcdc590fcbeb4d1925a7e55f1af27780a5550cded280475d2c08b1d"
post_extract() {
tar xf crack-attack-${version}.tar.bz2
tar xf crack-attack-music.tar.gz
tar xf crack-attack-sounds.tar.gz
tar xf crack-attack-${version}.tar.bz2
tar xf crack-attack-music.tar.gz
tar xf crack-attack-sounds.tar.gz
cd $build_wrksrc
cat ../*.patch | patch -p1
cd $build_wrksrc
cat ../*.patch | patch -p1
}
post_install() {
vcopy ../music usr/share/${pkgname}
vcopy ../data/sounds usr/share/${pkgname}
vlicense ../music-sound-copyright.txt
vcopy ../music usr/share/${pkgname}
vcopy ../data/sounds usr/share/${pkgname}
vlicense ../music-sound-copyright.txt
vmkdir usr/share/applications
mv $DESTDIR/usr/share/${pkgname}/${pkgname}.desktop $DESTDIR/usr/share/applications/
vmkdir usr/share/pixmaps
cp $DESTDIR/usr/share/${pkgname}/crack-attack.xpm $DESTDIR/usr/share/pixmaps
vmkdir usr/share/applications
mv $DESTDIR/usr/share/${pkgname}/${pkgname}.desktop $DESTDIR/usr/share/applications/
vmkdir usr/share/pixmaps
cp $DESTDIR/usr/share/${pkgname}/crack-attack.xpm $DESTDIR/usr/share/pixmaps
}