[arch-commits] Commit in puzzles/trunk (PKGBUILD)
Jakob Gruber
schuay at archlinux.org
Sat Jan 17 12:39:16 UTC 2015
Date: Saturday, January 17, 2015 @ 13:39:15
Author: schuay
Revision: 126035
fix puzzles icon paths
Modified:
puzzles/trunk/PKGBUILD
----------+
PKGBUILD | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
Modified: PKGBUILD
===================================================================
--- PKGBUILD 2015-01-17 10:42:28 UTC (rev 126034)
+++ PKGBUILD 2015-01-17 12:39:15 UTC (rev 126035)
@@ -4,7 +4,7 @@
pkgname=puzzles
pkgver=20150117
-pkgrel=1
+pkgrel=2
pkgdesc="Simon Tatham's Portable Puzzle Collection"
arch=('i686' 'x86_64')
url="http://www.chiark.greenend.org.uk/~sgtatham/puzzles/"
@@ -39,10 +39,10 @@
# Install the icons.
cd ${srcdir}/${pkgname}/icons
- install -d ${pkgdir}/usr/share/icons/hicolor/48x48/
+ install -d ${pkgdir}/usr/share/icons/hicolor/48x48/apps/
for oldname in *-48d24.png; do
newname=$(sed 's/\(\w*\)-48d24.png/\1.png/' <<< ${oldname})
- install -Dm644 ${oldname} ${pkgdir}/usr/share/icons/hicolor/48x48/${newname}
+ install -Dm644 ${oldname} ${pkgdir}/usr/share/icons/hicolor/48x48/apps/${newname}
done
# Generate .desktop files.
@@ -51,7 +51,7 @@
install -d ${pkgdir}/usr/share/applications
./desktop.pl ${pkgdir}/usr/share/applications \
/usr/bin \
- /usr/share/icons/
+ /unused/argument
# And finally, install the games.
cd ${srcdir}/${pkgname}
More information about the arch-commits
mailing list