diff options
author | Danny Rawlins <monster.romster@gmail.com> | 2019-10-13 19:07:31 +1100 |
---|---|---|
committer | Danny Rawlins <monster.romster@gmail.com> | 2019-10-13 19:07:31 +1100 |
commit | 097a49870d2e1c8280abd26875f37bf7c6146a9e (patch) | |
tree | 1ef96fae06fd77358da3731a2f92a2ea44c26216 /atanks | |
parent | 2263bf22a2ae65d773d207ee6a68edcd0d58bfca (diff) | |
download | contrib-097a49870d2e1c8280abd26875f37bf7c6146a9e.tar.gz contrib-097a49870d2e1c8280abd26875f37bf7c6146a9e.tar.xz |
atanks: clean up Pkgfile add missing icon to desktop file
Diffstat (limited to 'atanks')
-rw-r--r-- | atanks/.footprint | 2 | ||||
-rw-r--r-- | atanks/.signature | 6 | ||||
-rw-r--r-- | atanks/Pkgfile | 11 |
3 files changed, 13 insertions, 6 deletions
diff --git a/atanks/.footprint b/atanks/.footprint index 6c3709a8d..d8adf531f 100644 --- a/atanks/.footprint +++ b/atanks/.footprint @@ -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 diff --git a/atanks/.signature b/atanks/.signature index 617535341..9d890e4ec 100644 --- a/atanks/.signature +++ b/atanks/.signature @@ -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 diff --git a/atanks/Pkgfile b/atanks/Pkgfile index b85f3c103..9c0b16d9b 100644 --- a/atanks/Pkgfile +++ b/atanks/Pkgfile @@ -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} } |