summaryrefslogtreecommitdiff
path: root/distro/archlinux
diff options
context:
space:
mode:
Diffstat (limited to 'distro/archlinux')
-rw-r--r--distro/archlinux/PKGBUILD55
-rw-r--r--distro/archlinux/mate-document-viewer.install30
2 files changed, 0 insertions, 85 deletions
diff --git a/distro/archlinux/PKGBUILD b/distro/archlinux/PKGBUILD
deleted file mode 100644
index 36364413..00000000
--- a/distro/archlinux/PKGBUILD
+++ /dev/null
@@ -1,55 +0,0 @@
-pkgname=mate-document-viewer
-pkgver=1.4.0
-pkgrel=1
-pkgdesc="Simply a document viewer"
-url="https://github.com/mate-desktop/mate-document-viewer"
-arch=('i686' 'x86_64')
-license=('GPL')
-depends=('gtk2' 'libspectre' 'gsfonts' 'poppler-glib' 'libgxps' 'djvulibre'
- 'mate-icon-theme' 't1lib' 'libmatekeyring' 'desktop-file-utils'
- 'texlive-bin') # 'dconf' 'gsettings-desktop-schemas'
-makedepends=('mate-doc-utils' 'mate-file-manager' 'intltool' 'gobject-introspection')
-optdepends=('texlive-bin: DVI support')
-groups=('mate-extra')
-install=mate-document-viewer.install
-options=('!libtool' '!emptydirs')
-source=()
-sha256sums=()
-
-build() {
- cd "${srcdir}/../../../"
-
- ./autogen.sh \
- --prefix=/usr \
- --sysconfdir=/etc \
- --localstatedir=/var \
- --libexecdir=/usr/lib/mate-document-viewer \
- --disable-static \
- --enable-caja \
- --enable-pdf \
- --enable-tiff \
- --enable-xps \
- --enable-djvu \
- --enable-dvi \
- --enable-t1lib \
- --enable-comics \
- --enable-pixbuf \
- --enable-impress \
- --disable-scrollkeeper \
- --enable-introspection \
- --disable-schemas-compile \
- --disable-schemas-install || return 1
-
- make || return 1
-}
-
-package() {
- cd "${srcdir}/../../../"
- make MATECONF_DISABLE_MAKEFILE_SCHEMA_INSTALL=1 DESTDIR="${pkgdir}" install || return 1
-
- ln -s atril ${pkgdir}/usr/bin/mate-document-viewer
-
- install -m755 -d "${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
-}
diff --git a/distro/archlinux/mate-document-viewer.install b/distro/archlinux/mate-document-viewer.install
deleted file mode 100644
index 4dd1d023..00000000
--- a/distro/archlinux/mate-document-viewer.install
+++ /dev/null
@@ -1,30 +0,0 @@
-pkgname=mate-document-viewer
-
-post_install() {
- usr/bin/glib-compile-schemas usr/share/glib-2.0/schemas
- usr/sbin/mateconfpkg --install ${pkgname}
- gtk-update-icon-cache -q -t -f usr/share/icons/hicolor
-
- update-desktop-database -q
-
- update-mime-database usr/share/mime > /dev/null
-}
-
-pre_upgrade() {
- pre_remove $1
-}
-
-post_upgrade() {
- post_install $1
-}
-
-pre_remove() {
- usr/sbin/mateconfpkg --uninstall ${pkgname}
-}
-
-post_remove() {
- usr/bin/glib-compile-schemas usr/share/glib-2.0/schemas
- gtk-update-icon-cache -q -t -f usr/share/icons/hicolor
- update-desktop-database -q
- update-mime-database usr/share/mime > /dev/null
-}