From 934c1b9fe4dd4b6eeceb5d51730099c222deaab1 Mon Sep 17 00:00:00 2001 From: André Fabian Silva Delgado Date: Tue, 4 Sep 2012 19:37:14 -0300 Subject: kdeutils-ark-libre-4.9.1-1: KDE 4.9.1 --- libre-testing/kdeutils-ark-libre/PKGBUILD | 39 ++++++++++++++++++++++ .../kdeutils-ark-libre/kdeutils-ark.install | 11 ++++++ libre-testing/kdeutils-ark-libre/rePKGBUILD | 26 +++++++++++++++ 3 files changed, 76 insertions(+) create mode 100644 libre-testing/kdeutils-ark-libre/PKGBUILD create mode 100644 libre-testing/kdeutils-ark-libre/kdeutils-ark.install create mode 100644 libre-testing/kdeutils-ark-libre/rePKGBUILD (limited to 'libre-testing') diff --git a/libre-testing/kdeutils-ark-libre/PKGBUILD b/libre-testing/kdeutils-ark-libre/PKGBUILD new file mode 100644 index 000000000..a71990231 --- /dev/null +++ b/libre-testing/kdeutils-ark-libre/PKGBUILD @@ -0,0 +1,39 @@ +# $Id: PKGBUILD 165999 2012-09-03 21:52:22Z andrea $ +# Maintainer: Andrea Scarpino +# Maintainer (Parabola): André Silva + +_pkgname=kdeutils-ark +pkgname=kdeutils-ark-libre +pkgver=4.9.1 +pkgrel=1 +pkgdesc='Archiving Tool' +url='http://kde.org/applications/utilities/ark/' +arch=('i686' 'x86_64' 'mips64el') +license=('GPL' 'LGPL' 'FDL') +groups=('kde' 'kdeutils') +depends=('kdebase-runtime' 'kdebase-lib' 'libarchive' 'qjson') +makedepends=('cmake' 'automoc4') +optdepends=('p7zip' 'zip' 'unzip' 'ununrar') +install=${_pkgname}.install +provides=("kdeutils-ark=$pkgver") +replaces=('kdeutils-ark') +conflicts=('kdeutils-ark') +source=("http://download.kde.org/stable/${pkgver}/src/ark-${pkgver}.tar.xz") +sha1sums=('2f7d32b9f99913d14801b56f0c858eda128a7b91') + +build() { + cd "${srcdir}" + mkdir build + cd build + cmake ../ark-${pkgver} \ + -DCMAKE_BUILD_TYPE=Release \ + -DCMAKE_INSTALL_PREFIX=/usr + make +} + +package() { + cd $srcdir/build + make DESTDIR=$pkgdir install + cd $srcdir/build/doc + make DESTDIR=$pkgdir install +} diff --git a/libre-testing/kdeutils-ark-libre/kdeutils-ark.install b/libre-testing/kdeutils-ark-libre/kdeutils-ark.install new file mode 100644 index 000000000..78681144b --- /dev/null +++ b/libre-testing/kdeutils-ark-libre/kdeutils-ark.install @@ -0,0 +1,11 @@ +post_install() { + update-desktop-database -q +} + +post_update() { + post_install +} + +post_remove() { + post_install +} diff --git a/libre-testing/kdeutils-ark-libre/rePKGBUILD b/libre-testing/kdeutils-ark-libre/rePKGBUILD new file mode 100644 index 000000000..f40b19d3f --- /dev/null +++ b/libre-testing/kdeutils-ark-libre/rePKGBUILD @@ -0,0 +1,26 @@ +# Maintainer: Nicolás Reynolds +source PKGBUILD +#CARCH=x86_64 +unset build package md5sums source +_repo=extra # Put the repo here +_mirror=ftp://mirrors.kernel.org/archlinux # Put mirror here +source=(PKGBUILD + "${_mirror}/${_repo}/os/${CARCH}/${pkgname%-libre}-$pkgver-$pkgrel-$CARCH$PKGEXT" + # files for pkg modifications below this line + ) +options=(!strip) + +build() { + cd "${srcdir}/" + rm -vf .{INSTALL,PKGINFO} || true + # put actions for package modifications below this line + +} + +package() { + find ${srcdir} -maxdepth 1 -type l -delete + cp -a ${srcdir}/* ${pkgdir} +} + + +# vim:set ts=2 sw=2 et: -- cgit v1.2.3