summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNicolás Reynolds <apoyosis@correo.inta.gob.ar>2011-07-11 11:39:00 -0300
committerNicolás Reynolds <apoyosis@correo.inta.gob.ar>2011-07-11 11:39:00 -0300
commitd6d9f851bf049c5aa352a17775214f5e9001c4cd (patch)
tree63a290b358a92f917ef07224476a77412e8bd7d8
parentf744b1d550b1d8ae8b86d2958ff0caacad7837e4 (diff)
downloadabslibre-d6d9f851bf049c5aa352a17775214f5e9001c4cd.tar.gz
abslibre-d6d9f851bf049c5aa352a17775214f5e9001c4cd.tar.bz2
abslibre-d6d9f851bf049c5aa352a17775214f5e9001c4cd.zip
libre/file-roller-libre-3.0.2-1
-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: