updated on Mon Jan 23 00:00:36 UTC 2012
[aur-mirror.git] / kpdftool / PKGBUILD
blobd3816ca94361a9f65590fbc935c4ebddea67b4a4
1 # Contributor: Artem A. Klevtsov <unikum.pm@gmail.com>
3 pkgname=kpdftool
4 pkgver=0.23
5 pkgrel=1
6 pkgdesc="GUI interface for GhostView and ImageMagick for operations with PDF and PostScript"
7 arch=('i686' 'x86_64')
8 url='http://kde-apps.org/content/show.php/KPDFTool?content=33194'
9 license=('GPL')
10 depends=('qt')
11 source=("http://kde-apps.org/CONTENT/content-files/33194-${pkgname}-${pkgver}-Qt4.zip")
12 md5sums=('243a6fe1da8e942d6e1ab2bc76ec4536')
14 build() {
15   if [[ -d "${srcdir}/build" ]]; then
16     msg "Cleaning the previous build directory..."
17     rm -rf "${srcdir}/build"
18   fi
19   mkdir "${srcdir}/build"
20   cd "${srcdir}/build"
21   qmake ${srcdir}/${pkgname}-${pkgver}/${pkgname}.pro
22   make 
25 package() {
26   install -Dm755 "${srcdir}/build/${pkgname}" "${pkgdir}/usr/bin/${pkgname}"
27