summaryrefslogtreecommitdiff
path: root/libre/mime-types
diff options
context:
space:
mode:
authorroot <root@rshg054.dnsready.net>2013-03-26 00:06:16 -0700
committerroot <root@rshg054.dnsready.net>2013-03-26 00:06:16 -0700
commitc16968d4179be76966c262f854c9e1fb827dc3ec (patch)
tree3dc52f45dc9b7b4a2999ca42a28631072abb7e39 /libre/mime-types
parent32793d9a5b60ef0591c71c12ad75121d9b155adf (diff)
Tue Mar 26 00:06:15 PDT 2013
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..2ac7928c1
--- /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.2
+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'
+ '0d3b34c7b4a384be674192ecbfd8f22271906ae8')
+
+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..bbf8406ca
--- /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 as the mime-types package, which is based on
++# Gentoo's app-misc/mime-types package.