diff options
Diffstat (limited to 'extra/kfilemetadata/PKGBUILD')
-rw-r--r-- | extra/kfilemetadata/PKGBUILD | 31 |
1 files changed, 31 insertions, 0 deletions
diff --git a/extra/kfilemetadata/PKGBUILD b/extra/kfilemetadata/PKGBUILD new file mode 100644 index 000000000..0b397fea6 --- /dev/null +++ b/extra/kfilemetadata/PKGBUILD @@ -0,0 +1,31 @@ +# $Id: PKGBUILD 211332 2014-04-18 18:01:20Z andrea $ +# Maintainer: Andrea Scarpino <andrea@archlinux.org> + +pkgname=kfilemetadata +pkgver=4.13.0 +pkgrel=1 +pkgdesc="A library for extracting file metadata" +arch=('i686' 'x86_64') +url='https://projects.kde.org/projects/kde/kdelibs/kfilemetadata' +license=('LGPL') +depends=('kdelibs' 'poppler-qt' 'taglib' 'ffmpeg' 'ebook-tools' 'kdegraphics-mobipocket') +makedepends=('cmake' 'automoc4') +source=("http://download.kde.org/stable/${pkgver}/src/${pkgname}-${pkgver}.tar.xz") +sha1sums=('3bfd15f218ee76bf4a57357afa05fd01b4e68bd5') + +prepare() { + mkdir build +} + +build() { + cd build + cmake ../${pkgname}-${pkgver} \ + -DCMAKE_BUILD_TYPE=Release \ + -DCMAKE_INSTALL_PREFIX=/usr + make +} + +package() { + cd build + make DESTDIR="${pkgdir}" install +} |