blob: e011bb6206a4ecc19cc252f7216ba837c1291c45 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
|
# Maintainer: FadeMind <fademind@gmail.com>
pkgname=kde-thumbnailer-gimpresources
pkgver=2.1.2
pkgrel=2
pkgdesc="Plugin for KDE4 to display GIMP resource files like brushes and patterns as thumbnails."
arch=('i686' 'x86_64')
license=('GPL2')
url="https://www.linux-apps.com/p/1081255"
depends=('kdelibs' 'gimp')
makedepends=('automoc4' 'cmake')
source=("${pkgname}-${pkgver}.tar.gz::https://github.com/aclemens/GimpResourcesThumbnailer/archive/${pkgver}.tar.gz")
sha256sums=('a8e964e74a4be92070a9817247d5e7dc12ef4add0fc8165cffbc1d24b5e8ac51')
build() {
install -d build/
cd build/
cmake ../GimpResourcesThumbnailer-${pkgver}/ \
-DCMAKE_INSTALL_PREFIX=$(kde4-config --prefix) \
-DCMAKE_BUILD_TYPE=Release \
-DQT_QMAKE_EXECUTABLE=qmake-qt4
make
}
package() {
make -C build DESTDIR="${pkgdir}" install
}
|