forked from ports/contrib
atanks: clean up Pkgfile add missing icon to desktop file
This commit is contained in:
parent
2263bf22a2
commit
097a49870d
@ -316,3 +316,5 @@ drwxr-xr-x root/root usr/share/icons/hicolor/
|
||||
drwxr-xr-x root/root usr/share/icons/hicolor/48x48/
|
||||
drwxr-xr-x root/root usr/share/icons/hicolor/48x48/apps/
|
||||
-rw-r--r-- root/root usr/share/icons/hicolor/48x48/apps/atanks.png
|
||||
drwxr-xr-x root/root usr/share/pixmaps/
|
||||
-rw-r--r-- root/root usr/share/pixmaps/atanks.png
|
||||
|
@ -1,5 +1,5 @@
|
||||
untrusted comment: verify with /etc/ports/contrib.pub
|
||||
RWSagIOpLGJF3zJKPHy6qZjfPqOLFF3HaJm6Hz2M2oKWpNZfzxz1sdIvIKn/NCkVttA1K+Pj9aouiP3dmhYkVjRpZy5lRhI+8wY=
|
||||
SHA256 (Pkgfile) = 939d6b1eb825ec6219eb44a4b6b70cfbc998c140b1615fe1acfd8a5b69ea5cfe
|
||||
SHA256 (.footprint) = fd45b3c351bbb9bc6fdd247fbb2e4b81abe4582da1dd25567aa33fd19434bba3
|
||||
RWSagIOpLGJF30Dqlnv81fE+/7MQIdNdrZU7eXuU7TnsmnBMBr3/j86uJLfNjIk6dW+Sdl+3HowJ0cCmcKHn51AYe2FuVOaQPgk=
|
||||
SHA256 (Pkgfile) = 0ff7ad9cae7e45e70ec319895a769c1d5359ac7d5740343bf6ed346f78a3b25d
|
||||
SHA256 (.footprint) = 6e31041044921189f104964ae45fc290bc969e7e670b546267a1f32fab5c982a
|
||||
SHA256 (atanks-6.5.tar.gz) = 32182b2752a77ff362c378fc04b7c51fc15345caa4c8deaad59cc850dad2322e
|
||||
|
@ -1,12 +1,11 @@
|
||||
# Description: Annihilate the other tanks to earn money, then spend it on bigger and better shields and weapons to wipe out the opposition.
|
||||
# URL: http://atanks.sourceforge.net/
|
||||
# Maintainer: Danny Rawlins, crux at romster dot me
|
||||
# Packager: Danny Rawlins, crux at romster dot me
|
||||
# Depends on: allegro4
|
||||
|
||||
name=atanks
|
||||
version=6.5
|
||||
release=1
|
||||
release=2
|
||||
source=(https://downloads.sourceforge.net/project/$name/$name/$name-$version/$name-$version.tar.gz)
|
||||
|
||||
build() {
|
||||
@ -15,7 +14,13 @@ build() {
|
||||
sed -i -e 's|share/games/atanks|share/atanks|' Makefile
|
||||
|
||||
make
|
||||
make DESTDIR=$PKG install
|
||||
make DESTDIR=$PKG INSTALL="install -c" install
|
||||
|
||||
sed -i 's/^Name=atanks/Name=Atomic Tanks/' atanks.desktop
|
||||
sed -i 's/^Categories=Game;/Categories=Game;StrategyGame;/' atanks.desktop
|
||||
|
||||
install -Dm644 atanks.desktop $PKG/usr/share/applications/atanks.desktop
|
||||
install -Dm644 atanks.png $PKG/usr/share/pixmaps/atanks.png
|
||||
|
||||
rm $PKG/usr/share/atanks/{COPYING,Changelog,README,README_ru.txt,TODO}
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user