desktop/converseen/PKGBUILD

29 lines
790 B
Bash
Raw Normal View History

pkgname=converseen
2016-10-01 23:22:53 +08:00
pkgver=0.9.5.2
_pkgver=${pkgver%.*}
pkgrel=1
pkgdesc="The batch image converter and resizer. It supports more than 100 image formats."
2012-11-15 12:44:16 +08:00
arch=('x86_64')
2016-09-08 20:23:44 +08:00
url="http://converseen.fasterland.net/"
2012-06-07 19:14:22 +08:00
license=('GPL3')
categories=('graphics')
depends=('imagemagick' 'qt5-base' 'libwmf' 'openexr' 'fftw')
makedepends=('cmake' 'qt5-tools')
2016-09-08 20:23:44 +08:00
source=("https://downloads.sourceforge.net/sourceforge/${pkgname}/${pkgname}-${pkgver}.tar.bz2")
2012-06-07 19:14:22 +08:00
screenshot=('http://converseen.sourceforge.net/res/converseen1.png')
2016-10-01 23:22:53 +08:00
sha1sums=('0f1e13157cf553f22b88d48f5d8f7adad3150f91')
build() {
2016-10-01 23:22:53 +08:00
cd $pkgname-$pkgver
mkdir -p build && cd build
2016-10-01 23:22:53 +08:00
cmake .. -DCMAKE_BUILD_TYPE=Release \
-DCMAKE_INSTALL_PREFIX=/usr
make
}
package() {
2016-10-01 23:22:53 +08:00
cd $pkgname-$pkgver/build
2016-10-01 23:22:53 +08:00
make DESTDIR=$pkgdir install
}