summaryrefslogtreecommitdiff
path: root/libre/mime-types
diff options
context:
space:
mode:
Diffstat (limited to 'libre/mime-types')
-rw-r--r--libre/mime-types/PKGBUILD23
-rw-r--r--libre/mime-types/parabola.patch7
2 files changed, 30 insertions, 0 deletions
diff --git a/libre/mime-types/PKGBUILD b/libre/mime-types/PKGBUILD
new file mode 100644
index 000000000..c62cf574b
--- /dev/null
+++ b/libre/mime-types/PKGBUILD
@@ -0,0 +1,23 @@
+# $Id$
+# Contributor: Jan de Groot <jgc@archlinux.org>
+# Contributor: Daniel J Griffiths <ghost1227@archlinux.us>
+# Maintainer: Gaetan Bisson <bisson@archlinux.org>
+
+pkgname=mime-types
+pkgver=8
+pkgrel=1.1
+pkgdesc='Provides /etc/mime.types, Parabola rebranded'
+url='https://parabolagnulinux.org/'
+license=('GPL2')
+arch=('any')
+backup=('etc/mime.types')
+source=("http://mirrors.kernel.org/gentoo/distfiles/${pkgname}-${pkgver}.tar.bz2"
+ 'parabola.patch')
+sha1sums=('01682b0ad3111a6cf65e6c9db0c18ddd7523c593'
+ '6778edf60195e81cd3d0748b82ea17a7')
+
+package() {
+ cd "${srcdir}/${pkgname}-${pkgver}"
+ patch -p1 -i ../parabola.patch
+ install -Dm644 mime.types "${pkgdir}"/etc/mime.types
+}
diff --git a/libre/mime-types/parabola.patch b/libre/mime-types/parabola.patch
new file mode 100644
index 000000000..158733a6a
--- /dev/null
+++ b/libre/mime-types/parabola.patch
@@ -0,0 +1,7 @@
+diff -au0r old/mime.types new/mime.types
+--- old/mime.types 2009-10-15 07:51:24.000000000 -0700
++++ new/mime.types 2011-08-02 22:49:14.962241561 -0700
+@@ -2 +2,2 @@
+-# distributed as the app-misc/mime-types package.
++# distributed in Parabola GNU/Linux-libre as the mime-types package, which
++# is based on Gentoo's app-misc/mime-types package.