diff options
Diffstat (limited to 'distro')
-rw-r--r-- | distro/archlinux/PKGBUILD | 49 | ||||
-rw-r--r-- | distro/archlinux/download | bin | 0 -> 2374763 bytes | |||
-rw-r--r-- | distro/archlinux/mate-extract-2011.08.31-1-x86_64.pkg.tar.xz | bin | 0 -> 994252 bytes | |||
-rw-r--r-- | distro/archlinux/mate-extract.install | 25 |
4 files changed, 74 insertions, 0 deletions
diff --git a/distro/archlinux/PKGBUILD b/distro/archlinux/PKGBUILD new file mode 100644 index 0000000..aff5283 --- /dev/null +++ b/distro/archlinux/PKGBUILD @@ -0,0 +1,49 @@ +# Maintainer: Spyros Stathopoulos <[email protected]> +# Contributor: Alessio Sergi <asergi at archlinux dot us> +pkgname=mate-extract +pkgver=2011.08.31 +pkgrel=1 +pkgdesc="Archive manipulator for MATE" +arch=('i686' 'x86_64') +license=('GPL') +depends=('desktop-file-utils' 'mate-conf' 'hicolor-icon-theme') +makedepends=('mate-doc-utils' 'intltool') +conflicts=('file-roller' 'file-roller2') +optdepends=('unrar: for RAR uncompression' +'zip: for ZIP archives' 'unzip: for ZIP archives' +'p7zip: 7zip compression utility' 'arj: for ARJ archives' +'unace: extraction tool for the proprietary ace archive format') +options=('!libtool' '!emptydirs') +install=mate-extract.install +url="http://matsusoft.com.ar/projects" +groups=('mate-extras') +source=(http://sourceforge.net/projects/matede/files/${pkgver}/${pkgname}.tar.gz/download) +md5sums=('4f26837dca3752cc9d17cdbcb16c4ed5') + +build() { + cd "$srcdir/$pkgname" + + mate-doc-prepare --force + autoreconf -i + aclocal + + ./configure --prefix=/usr \ + --disable-static \ + --localstatedir=/var \ + --libexecdir=/usr/lib/${pkgname} \ + --disable-scrollkeeper \ + --disable-schemas-install \ + --sysconfdir=/etc \ + --disable-packagekit + make +} + +package() { + cd "$srcdir/$pkgname" + make MATECONF_DISABLE_MAKEFILE_SCHEMA_INSTALL=1 DESTDIR="$pkgdir/" install + install -d -m755 "${pkgdir}/usr/share/mateconf/schemas" + mateconf-merge-schema "${pkgdir}/usr/share/mateconf/schemas/${pkgname}.schemas" --domain ${pkgname} "${pkgdir}/etc/mateconf/schemas/*.schemas" + rm -f "${pkgdir}/etc/mateconf/schemas/*.schemas" +} + +# vim:set ts=2 sw=2 et: diff --git a/distro/archlinux/download b/distro/archlinux/download Binary files differnew file mode 100644 index 0000000..b0cb29b --- /dev/null +++ b/distro/archlinux/download diff --git a/distro/archlinux/mate-extract-2011.08.31-1-x86_64.pkg.tar.xz b/distro/archlinux/mate-extract-2011.08.31-1-x86_64.pkg.tar.xz Binary files differnew file mode 100644 index 0000000..0e22bcf --- /dev/null +++ b/distro/archlinux/mate-extract-2011.08.31-1-x86_64.pkg.tar.xz diff --git a/distro/archlinux/mate-extract.install b/distro/archlinux/mate-extract.install new file mode 100644 index 0000000..373b8b1 --- /dev/null +++ b/distro/archlinux/mate-extract.install @@ -0,0 +1,25 @@ +pkgname=file-roller + +post_install() { + usr/sbin/mateconfpkg --install ${pkgname} + gtk-update-icon-cache -q -t -f usr/share/icons/hicolor + update-desktop-database -q +} + +pre_upgrade() { + pre_remove $1 +} + +post_upgrade() { + post_install $1 +} + +pre_remove() { + usr/sbin/mateconfpkg --uninstall ${pkgname} +} + +post_remove() { + gtk-update-icon-cache -q -t -f usr/share/icons/hicolor + update-desktop-database -q +} + |