summaryrefslogtreecommitdiff
path: root/libre/file-roller-libre
diff options
context:
space:
mode:
Diffstat (limited to 'libre/file-roller-libre')
-rw-r--r--libre/file-roller-libre/PKGBUILD42
-rw-r--r--libre/file-roller-libre/file-roller.install23
-rw-r--r--libre/file-roller-libre/rePKGBUILD26
3 files changed, 91 insertions, 0 deletions
diff --git a/libre/file-roller-libre/PKGBUILD b/libre/file-roller-libre/PKGBUILD
new file mode 100644
index 000000000..97a0fd198
--- /dev/null
+++ b/libre/file-roller-libre/PKGBUILD
@@ -0,0 +1,42 @@
+# $Id: PKGBUILD 124730 2011-05-24 07:10:29Z ibiru $
+# Maintainer: Jan de Groot <jgc@archlinux.org>
+
+_pkgname=file-roller
+pkgname=file-roller-libre
+pkgver=3.0.2
+pkgrel=1
+pkgdesc="Archive manipulator for GNOME"
+arch=('i686' 'x86_64')
+license=('GPL')
+depends=('desktop-file-utils' 'gtk3' 'hicolor-icon-theme' 'dconf' 'nautilus')
+makedepends=('intltool' 'gnome-doc-utils' 'pkg-config' 'nautilus' 'libsm')
+optdepends=('ununrar: interface to unarchiver, the free RAR uncompression program'
+ 'zip: creates PKZIP-compatible .zip files'
+ 'unzip: unpacks .zip archives'
+ 'p7zip: 7zip compression utility'
+ 'xz: managing LZMA and XZ compressed files'
+ 'arj: ARJ archiver')
+groups=('gnome-extra')
+provides=("$_pkgname=$pkgver")
+replaces=("$_pkgname")
+conflicts=("$_pkgname")
+options=('!libtool' '!emptydirs')
+install=file-roller.install
+url="http://www.gnome.org"
+source=(http://ftp.gnome.org/pub/gnome/sources/${_pkgname}/${pkgver%.*}/${_pkgname}-${pkgver}.tar.bz2)
+sha256sums=('a612f05c44f82328175ddca1b4a1da214d9c305797370b78435f490b250af3d1')
+
+build() {
+ cd "${srcdir}/${_pkgname}-${pkgver}"
+ ./configure --prefix=/usr --sysconfdir=/etc \
+ --libexecdir=/usr/lib/file-roller \
+ --localstatedir=/var --disable-static \
+ --disable-scrollkeeper --disable-schemas-compile
+ make
+}
+
+package() {
+ cd "${srcdir}/${_pkgname}-${pkgver}"
+ make DESTDIR="${pkgdir}" install
+}
+
diff --git a/libre/file-roller-libre/file-roller.install b/libre/file-roller-libre/file-roller.install
new file mode 100644
index 000000000..182126c39
--- /dev/null
+++ b/libre/file-roller-libre/file-roller.install
@@ -0,0 +1,23 @@
+pkgname=file-roller
+
+post_install() {
+ glib-compile-schemas usr/share/glib-2.0/schemas
+ update-desktop-database -q
+ gtk-update-icon-cache -q -t -f usr/share/icons/hicolor
+}
+
+pre_upgrade() {
+ if [ -f usr/share/gconf/schemas/${pkgname}.schemas ]; then
+ usr/sbin/gconfpkg --uninstall ${pkgname}
+ fi
+}
+
+post_upgrade() {
+ post_install $1
+}
+
+
+post_remove() {
+ post_install $1
+}
+
diff --git a/libre/file-roller-libre/rePKGBUILD b/libre/file-roller-libre/rePKGBUILD
new file mode 100644
index 000000000..ee6544db5
--- /dev/null
+++ b/libre/file-roller-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=http://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 .{INSTALL,PKGINFO}
+ # 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: