Skip to content
Snippets Groups Projects
Commit 8443688f authored by Balló György's avatar Balló György :flag_hu:
Browse files

Install less icons

parent b08d1eb2
No related branches found
No related tags found
No related merge requests found
......@@ -4,7 +4,7 @@
pkgname=converseen
pkgver=0.9.7.2
pkgrel=2
pkgrel=3
pkgdesc="Batch image converter and resizer"
arch=('x86_64')
url="http://converseen.fasterland.net/"
......@@ -17,6 +17,8 @@ sha256sums=('27b322450a80b6eb7d7f9d936f33ffe18cb06c6ab684c027dd474af91a03fb76')
prepare() {
mkdir build
cd $pkgname-$pkgver
convert res/converseen.png +set date:create +set date:modify -resize 256x256 -alpha on res/converseen.png
sed -i 's|/share/pixmaps|/share/icons/hicolor/256x256/apps|' CMakeLists.txt
# Don't use legacy path for AppStream metainfo file
# https://github.com/Faster3ck/Converseen/pull/61
......@@ -34,11 +36,4 @@ build() {
package() {
cd build
make DESTDIR="$pkgdir" install
cd ../$pkgname-$pkgver
for size in 16x16 22x22 24x24 32x32 48x48 64x64 128x128 256x256; do
install -dm755 "$pkgdir"/usr/share/icons/hicolor/$size/apps/
convert res/converseen.png +set date:create +set date:modify -resize $size -alpha on "$pkgdir"/usr/share/icons/hicolor/$size/apps/converseen.png
done
rm -r "$pkgdir"/usr/share/pixmaps/
}
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment