From 902eddd7e029eda6fc1c668b31e696c6ca3edbc7 Mon Sep 17 00:00:00 2001 From: root Date: Mon, 30 Jan 2012 23:15:09 +0000 Subject: Mon Jan 30 23:15:08 UTC 2012 --- libre/kdeutils-ark-libre/PKGBUILD | 38 +++++++++++++++++++++++++++ libre/kdeutils-ark-libre/kdeutils-ark.install | 11 ++++++++ libre/kdeutils-ark-libre/rePKGBUILD | 26 ++++++++++++++++++ 3 files changed, 75 insertions(+) create mode 100644 libre/kdeutils-ark-libre/PKGBUILD create mode 100644 libre/kdeutils-ark-libre/kdeutils-ark.install create mode 100644 libre/kdeutils-ark-libre/rePKGBUILD (limited to 'libre/kdeutils-ark-libre') diff --git a/libre/kdeutils-ark-libre/PKGBUILD b/libre/kdeutils-ark-libre/PKGBUILD new file mode 100644 index 000000000..737c0cb55 --- /dev/null +++ b/libre/kdeutils-ark-libre/PKGBUILD @@ -0,0 +1,38 @@ +# $Id: PKGBUILD 147905 2012-01-28 10:36:46Z andrea $ +# Maintainer: Andrea Scarpino + +_pkgname=kdeutils-ark +pkgname=kdeutils-ark-libre +pkgver=4.8.0 +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') +provides=("kdeutils-ark=$pkgver") +replaces=('kdeutils-ark') +conflicts=('kdeutils-ark') +install=${_pkgname}.install +source=("http://download.kde.org/stable/${pkgver}/src/ark-${pkgver}.tar.bz2") +sha1sums=('99756e0896938371d6d7036fb3d5d0d152de29c3') + +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/kdeutils-ark-libre/kdeutils-ark.install b/libre/kdeutils-ark-libre/kdeutils-ark.install new file mode 100644 index 000000000..78681144b --- /dev/null +++ b/libre/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/kdeutils-ark-libre/rePKGBUILD b/libre/kdeutils-ark-libre/rePKGBUILD new file mode 100644 index 000000000..f40b19d3f --- /dev/null +++ b/libre/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-54-g00ecf