mirror of
https://gitdl.cn/https://github.com/chakralinux/desktop.git
synced 2025-01-24 18:42:12 +08:00
37 lines
1.1 KiB
Bash
37 lines
1.1 KiB
Bash
#
|
|
# Chakra Packages for Chakra, part of chakra-project.org
|
|
#
|
|
# maintainer (i686): Phil Miller <philm[at]chakra-project[dog]org>
|
|
# maintainer (x86_64): Manuel Tortosa <manutortosa[at]chakra-project[dot]org>
|
|
|
|
pkgname=converseen
|
|
pkgver=0.4.3
|
|
pkgrel=1
|
|
pkgdesc="The batch image converter and resizer. It supports more than 100 image formats."
|
|
arch=('i686' 'x86_64')
|
|
url="http://converseen.sourceforge.net/"
|
|
license=('GPL2')
|
|
depends=('graphicsmagick' 'imagemagick' 'qt')
|
|
source=(http://downloads.sourceforge.net/sourceforge/converseen/converseen-$pkgver.tar.bz2)
|
|
md5sums=('dff71dfc3ecf79dd04797c7548098400')
|
|
|
|
build() {
|
|
cd $srcdir/$pkgname-$pkgver
|
|
|
|
# Compilation
|
|
qmake
|
|
make
|
|
|
|
# Binary
|
|
install -Dm755 converseen $pkgdir/usr/bin/converseen
|
|
|
|
# Desktop icon
|
|
install -Dm644 ./res/converseen.png $pkgdir/usr/share/pixmaps/converseen.png
|
|
install -Dm644 ./res/converseen.desktop $pkgdir/usr/share/applications/converseen.desktop
|
|
|
|
# Translations
|
|
cd ./loc
|
|
for file in $(find . -name '*.qm' -print); do
|
|
install -Dm644 $file $pkgdir/usr/share/converseen/$file
|
|
done
|
|
} |