summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndré Fabian Silva Delgado <emulatorman@lavabit.com>2012-09-04 19:37:14 -0300
committerAndré Fabian Silva Delgado <emulatorman@lavabit.com>2012-09-04 19:37:14 -0300
commit934c1b9fe4dd4b6eeceb5d51730099c222deaab1 (patch)
tree44bc04e325f3ef419c8b4ff05bdbf55e20c930d9
parente731acf39e2d81617b73703e1c4f46fffd69d0fc (diff)
downloadabslibre-934c1b9fe4dd4b6eeceb5d51730099c222deaab1.tar.gz
abslibre-934c1b9fe4dd4b6eeceb5d51730099c222deaab1.tar.bz2
abslibre-934c1b9fe4dd4b6eeceb5d51730099c222deaab1.zip
kdeutils-ark-libre-4.9.1-1: KDE 4.9.1
-rw-r--r--libre-testing/kdeutils-ark-libre/PKGBUILD39
-rw-r--r--libre-testing/kdeutils-ark-libre/kdeutils-ark.install11
-rw-r--r--libre-testing/kdeutils-ark-libre/rePKGBUILD26
3 files changed, 76 insertions, 0 deletions
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 <andrea@archlinux.org>
+# Maintainer (Parabola): André Silva <emulatorman@lavabit.com>
+
+_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 <fauno@kiwwwi.com.ar>
+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: