KDE Po Thumbnailer added.

This commit is contained in:
Adrian Chaves Fernandez (Gallaecio) 2011-05-28 00:34:00 +00:00
parent beed70a112
commit 2ce6eb454e

35
po-thumbnailer/PKGBUILD Normal file
View File

@ -0,0 +1,35 @@
#
# Apps Packages for Chakra, part of chakra-project.org
#
# Maintainer: Adrián Chaves Fernández (Gallaecio) <adriyetichaves gmail.com>
# include global config
source ../_buildscripts/${current_repo}-${_arch}-cfg.conf
pkgname=po-thumbnailer
_pkgname=kde-thumbnailer-po
pkgver=1.0
pkgrel=1
pkgdesc="Preview image generator plugin for GNU Gettext translation and template files."
arch=('i686' 'x86_64')
url="http://kde-apps.org/content/show.php?content=142036"
license=('GPL3')
depends=('kdebase-workspace' 'gettext')
makedepends=('automoc4' 'cmake')
source=("http://kde-apps.org/CONTENT/content-files/142036-$_pkgname-$pkgver.tar.bz2")
md5sums=('3d88a5f156b4fee350de856207833013')
build() {
cd $srcdir/$_pkgname
mkdir build && cd build
cmake \
-DCMAKE_INSTALL_PREFIX=/usr \
-DCMAKE_BUILD_TYPE=RelWithDebInfo \
..
make
}
package() {
cd $srcdir/$_pkgname/build
make DESTDIR=$pkgdir install
}