diff options
Diffstat (limited to 'unmaintained')
-rw-r--r-- | unmaintained/kfilemetadata/APKBUILD | 47 |
1 files changed, 47 insertions, 0 deletions
diff --git a/unmaintained/kfilemetadata/APKBUILD b/unmaintained/kfilemetadata/APKBUILD new file mode 100644 index 0000000000..56e3b564a7 --- /dev/null +++ b/unmaintained/kfilemetadata/APKBUILD @@ -0,0 +1,47 @@ +# Contributor: Ćukasz Jendrysik <scadu@yandex.com> +# Contributor: k0r10n <k0r10n.dev@gmail.com> +# Maintainer: +pkgname=kfilemetadata +pkgver=4.13.3 +pkgrel=1 +pkgdesc="A library for extracting file metadata" +url="https://projects.kde.org/projects/kde/kdelibs/kfilemetadata" +arch="all" +license="LGPL" +depends= +depends_dev="kdegraphics-mobipocket-dev ebook-tools-dev + poppler-qt4-dev taglib-dev extra-cmake-modules + ffmpeg-dev" +makedepends="$depends_dev cmake automoc4" +install="" +subpackages="$pkgname-dev" +source="ftp://ftp.kde.org/pub/kde/stable/${pkgver}/src/${pkgname}-${pkgver}.tar.xz" + +_builddir="$srcdir"/${pkgname}-${pkgver} +prepare() { + local i + cd "$_builddir" + for i in $source; do + case $i in + *.patch) msg $i; patch -p1 -i "$srcdir"/$i || return 1;; + esac + done + mkdir -p "$_builddir"/build +} + +build() { + cd "$_builddir"/build + cmake -DCMAKE_INSTALL_PREFIX=/usr \ + -DCMAKE_BUILD_TYPE=Release \ + -Wno-dev "$_builddir" || return 1 + make || return 1 +} + +package() { + cd "$_builddir"/build + make DESTDIR="$pkgdir" install || return 1 +} + +md5sums="7456cdbe4a3986ed75706049d2c36c2b kfilemetadata-4.13.3.tar.xz" +sha256sums="0777d591dd4328f83bdede9764fe7d70923baed0ccad779d9cc3aaddaefef4cf kfilemetadata-4.13.3.tar.xz" +sha512sums="e8fdb7699c37af227db14e55696fb3b4f012e9f1f3cceec988b52f9f4b9d6406ffc340f60a00ce144764a9fce57d1052979b94bf19ccb3da56495c76a1f10381 kfilemetadata-4.13.3.tar.xz" |