mirror of
https://gitdl.cn/https://github.com/chakralinux/core.git
synced 2025-02-03 00:07:13 +08:00
update shared-mime-info
This commit is contained in:
parent
0b9eb846e6
commit
746515602b
@ -2,8 +2,8 @@
|
||||
# Maintainer: Jan de Groot <jgc@archlinux.org>
|
||||
|
||||
pkgname=shared-mime-info
|
||||
pkgver=0.71
|
||||
pkgrel=2
|
||||
pkgver=1.0
|
||||
pkgrel=1
|
||||
pkgdesc="Freedesktop.org Shared MIME Info"
|
||||
arch=('i686' 'x86_64')
|
||||
license=('GPL')
|
||||
@ -11,14 +11,18 @@ depends=('libxml2>=2.7.3' 'glib2>=2.22.2')
|
||||
makedepends=('intltool' 'pkgconfig')
|
||||
install=shared-mime-info.install
|
||||
url="http://freedesktop.org/Software/shared-mime-info"
|
||||
source=(http://freedesktop.org/~hadess/${pkgname}-${pkgver}.tar.bz2 pbm.patch)
|
||||
md5sums=('0a90508234d415f761a79fbffdff74f4' '39fcc08fbd33145684ba97f1f64644c2')
|
||||
sha1sums=('6f3d3379662857646b0c5b95d5d26e47c0b6250a' '1e8f1cf027e0ce4b5a88f0e36f4bab3ff2d320a5')
|
||||
source=(http://freedesktop.org/~hadess/${pkgname}-${pkgver}.tar.xz)
|
||||
md5sums=('901b7977dbb2b71d12d30d4d8fb97028')
|
||||
sha1sums=('146dbad62f5450116b0353f88bb8e700f0034013')
|
||||
options=(!makeflags)
|
||||
|
||||
build() {
|
||||
cd "${srcdir}/${pkgname}-${pkgver}"
|
||||
patch -p1 -i "${srcdir}/pbm.patch" || return 1
|
||||
./configure --prefix=/usr --disable-update-mimedb || return 1
|
||||
make || return 1
|
||||
make DESTDIR="${pkgdir}" install || return 1
|
||||
./configure --prefix=/usr --disable-update-mimedb
|
||||
make
|
||||
}
|
||||
|
||||
package() {
|
||||
cd "${srcdir}/${pkgname}-${pkgver}"
|
||||
make DESTDIR="${pkgdir}" install
|
||||
}
|
||||
|
@ -1,49 +0,0 @@
|
||||
diff -Naur shared-mime-info-0.70-orig/freedesktop.org.xml shared-mime-info-0.70/freedesktop.org.xml
|
||||
--- shared-mime-info-0.70-orig/freedesktop.org.xml 2010-02-06 02:39:24.000000000 -0500
|
||||
+++ shared-mime-info-0.70/freedesktop.org.xml 2010-02-06 02:48:01.000000000 -0500
|
||||
@@ -17025,12 +17025,10 @@
|
||||
<magic priority="50">
|
||||
<match value="P1" type="string" offset="0">
|
||||
<match value="0x0a" type="byte" offset="2">
|
||||
- <match value="#" type="string" offset="3"/>
|
||||
</match>
|
||||
</match>
|
||||
<match value="P4" type="string" offset="0">
|
||||
<match value="0x0a" type="byte" offset="2">
|
||||
- <match value="#" type="string" offset="3"/>
|
||||
</match>
|
||||
</match>
|
||||
</magic>
|
||||
@@ -17074,12 +17072,10 @@
|
||||
<magic priority="50">
|
||||
<match value="P2" type="string" offset="0">
|
||||
<match value="0x0a" type="byte" offset="2">
|
||||
- <match value="#" type="string" offset="3"/>
|
||||
</match>
|
||||
</match>
|
||||
<match value="P5" type="string" offset="0">
|
||||
<match value="0x0a" type="byte" offset="2">
|
||||
- <match value="#" type="string" offset="3"/>
|
||||
</match>
|
||||
</match>
|
||||
</magic>
|
||||
@@ -17123,12 +17119,10 @@
|
||||
<magic priority="50">
|
||||
<match value="P3" type="string" offset="0">
|
||||
<match value="0x0a" type="byte" offset="2">
|
||||
- <match value="#" type="string" offset="3"/>
|
||||
</match>
|
||||
</match>
|
||||
<match value="P6" type="string" offset="0">
|
||||
<match value="0x0a" type="byte" offset="2">
|
||||
- <match value="#" type="string" offset="3"/>
|
||||
</match>
|
||||
</match>
|
||||
</magic>
|
||||
@@ -23926,4 +23920,4 @@
|
||||
</treemagic>
|
||||
</mime-type>
|
||||
|
||||
-</mime-info>
|
||||
\ No newline at end of file
|
||||
+</mime-info>
|
Loading…
Reference in New Issue
Block a user