diff options
author | Mattia Moffa | 2021-08-21 15:38:40 +0200 |
---|---|---|
committer | Mattia Moffa | 2021-08-21 15:38:40 +0200 |
commit | 4e2bea6f2015d5f0acc35544f91b18226a9a97f2 (patch) | |
tree | bd013f4698e2d4d76f72025dd5ac9f50d07e0943 | |
parent | 443eabd73fff0af6100b94ce428a4d06b9eec975 (diff) | |
download | aur-4e2bea6f2015d5f0acc35544f91b18226a9a97f2.tar.gz |
Actually fixed icon copying with AUR_BUILD=false
-rw-r--r-- | .SRCINFO | 6 | ||||
-rw-r--r-- | PKGBUILD | 9 |
2 files changed, 1 insertions, 14 deletions
@@ -29,9 +29,3 @@ pkgname = eclipse-jee pkgname = eclipse-cpp pkgname = eclipse-php - -pkgname = eclipse-common - pkgdesc = Highly extensible IDE (common files) - depends = java-environment>=8 - depends = webkit2gtk - depends = unzip @@ -8,7 +8,7 @@ # Contributor: Marco Crosio <marco.crosio@gmail.com> # Toggle this if you're building outside of the AUR, for a repo. -AUR_BUILD=false +AUR_BUILD=true # Edit to enable/disable packages to build pkgname=(eclipse-{java,jee,cpp,php}) @@ -134,15 +134,8 @@ Categories=Development;IDE;Java; StartupNotify=true END - if [ "$AUR_BUILD" = false ]; then - for i in 16 22 24 32 48 64 128 256 512 1024; do - install -Dm644 eclipse-common/plugins/org.eclipse.platform_*/eclipse$i.png \ - "$pkgdir/usr/share/icons/hicolor/${i}x$i/apps/eclipse.png" - done - else for i in 16 22 24 32 48 64 128 256 512 1024; do install -Dm644 $1/plugins/org.eclipse.platform_*/eclipse$i.png \ "$pkgdir/usr/share/icons/hicolor/${i}x$i/apps/eclipse.png" done - fi } |