diff options
author | Joshua Ismael Haase Hernández <hahj87@gmail.com> | 2011-07-07 21:41:42 -0500 |
---|---|---|
committer | Joshua Ismael Haase Hernández <hahj87@gmail.com> | 2011-07-07 21:41:42 -0500 |
commit | a385416a6942ab9609019b97b8a8aa3068b6812e (patch) | |
tree | cc55f608327aa7640c12e3220116fb24564cf780 /libre/file-roller-libre | |
parent | e99a90fb121148ecfdd29c63446c42474c4e2433 (diff) | |
parent | f4b22150c67a332d15bbbf322ab34066b0dfafb6 (diff) |
Merge branch 'master' of vparabola:~/projects/abslibre
Conflicts:
libre/libretools/PKGBUILD
Diffstat (limited to 'libre/file-roller-libre')
-rw-r--r-- | libre/file-roller-libre/PKGBUILD | 42 | ||||
-rw-r--r-- | libre/file-roller-libre/file-roller.install | 23 | ||||
-rw-r--r-- | libre/file-roller-libre/rePKGBUILD | 26 |
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: |