Browse Source

rm shared-mime-info

master
artoo 1 month ago
parent
commit
d284c142f0
Signed by: artoo <artoo@artixlinux.org> GPG Key ID: 3292CD0BB0DB310B

+ 0
- 5
shared-mime-info/.artixlinux/agent.yaml View File

@@ -1,5 +0,0 @@
%YAML 1.2
---

label: master


+ 0
- 33
shared-mime-info/.gitignore View File

@@ -1,33 +0,0 @@
# ---> ArchLinuxPackages
*.tar
*.tar.*
*.jar
*.exe
*.msi
*.zip
*.tgz
*.log
*.log.*
*.sig

pkg/
src/


# ---> Archives
*.7z
*.rar
*.gz
*.bzip
*.bz2
*.xz
*.lzma
*.cab

# ---> systemd
*.service
*.socket
*.timer

# ---> snap
*.snap

+ 0
- 13
shared-mime-info/.gitrepo View File

@@ -1,13 +0,0 @@
; DO NOT EDIT (unless you know what you are doing)
;
; This subdirectory is a git "subrepo", and this file is maintained by the
; git-subrepo command. See https://github.com/git-commands/git-subrepo#readme
;
[subrepo]
remote = gitea@gitea.artixlinux.org:packagesS/shared-mime-info.git
branch = master
commit = 1825f4f2750a0be963ff1ce94ca19307413c01b9
parent = 242b1509f1a3aabbfc0df39056ceecbb57be9064
method = merge
update = auto
cmdver = 0.4.0

+ 0
- 3
shared-mime-info/Jenkinsfile View File

@@ -1,3 +0,0 @@
@Library('artix-ci') import org.artixlinux.RepoPackage

PackagePipeline(new RepoPackage(this))

+ 0
- 2
shared-mime-info/README.md View File

@@ -1,2 +0,0 @@
# shared-mime-info


+ 0
- 39
shared-mime-info/repos/extra-x86_64/PKGBUILD View File

@@ -1,39 +0,0 @@
# Maintainer: AndyRTR <andyrtr@archlinux.org>
# Maintainer: Jan de Groot <jgc@archlinux.org>

pkgname=shared-mime-info
pkgver=1.13.1
pkgrel=2
pkgdesc="Freedesktop.org Shared MIME Info"
arch=('x86_64')
license=('GPL2')
depends=('libxml2' 'glib2')
makedepends=('itstool' 'gettext')
install=shared-mime-info.install
url="https://www.freedesktop.org/wiki/Specifications/shared-mime-info-spec/"
source=(https://gitlab.freedesktop.org/xdg/shared-mime-info/uploads/5349e18c86eb96eee258a5c1f19122d0/$pkgname-$pkgver.tar.xz
update-mime-database.hook)
sha256sums=('6ea80a5bc7b20598f3b0f9f92942fdb4322245b79d7ed3c3ee18816fcb472cae'
'7ecdd55ff7c4331e188cf46debbcc5660edb0e2bbeb4dd87cc5b87278c292821')
options=(!makeflags)

build() {
cd ${pkgname}-${pkgver}
# https://bugs.archlinux.org/task/38836
# https://bugs.freedesktop.org/show_bug.cgi?id=70366
export ac_cv_func_fdatasync=no
./configure --prefix=/usr --disable-update-mimedb
make
}

check() {
cd ${pkgname}-${pkgver}
make -k check || :
}

package() {
cd ${pkgname}-${pkgver}
make DESTDIR="${pkgdir}" install

install -Dm644 "$srcdir"/update-mime-database.hook "$pkgdir"/usr/share/libalpm/hooks/update-mime-database.hook
}

+ 0
- 7
shared-mime-info/repos/extra-x86_64/shared-mime-info.install View File

@@ -1,7 +0,0 @@
post_remove() {
if [ -d usr/share/mime ]; then
rm -f usr/share/mime/{globs,globs2,icons,treemagic,generic-icons,types,magic,XMLnamespaces,subclasses,aliases,mime.cache}
rm -rf usr/share/mime/{application,audio,image,inode,message,model,multipart,text,video,x-content,x-epoc}
rmdir --ignore-fail-on-non-empty usr/share/mime
fi
}

+ 0
- 11
shared-mime-info/repos/extra-x86_64/update-mime-database.hook View File

@@ -1,11 +0,0 @@
[Trigger]
Type = File
Operation = Install
Operation = Upgrade
Operation = Remove
Target = usr/share/mime/packages/*.xml

[Action]
Description = Updating the MIME type database...
When = PostTransaction
Exec = /usr/bin/update-mime-database /usr/share/mime

+ 0
- 39
shared-mime-info/trunk/PKGBUILD View File

@@ -1,39 +0,0 @@
# Maintainer: AndyRTR <andyrtr@archlinux.org>
# Maintainer: Jan de Groot <jgc@archlinux.org>

pkgname=shared-mime-info
pkgver=1.13.1
pkgrel=2
pkgdesc="Freedesktop.org Shared MIME Info"
arch=('x86_64')
license=('GPL2')
depends=('libxml2' 'glib2')
makedepends=('itstool' 'gettext')
install=shared-mime-info.install
url="https://www.freedesktop.org/wiki/Specifications/shared-mime-info-spec/"
source=(https://gitlab.freedesktop.org/xdg/shared-mime-info/uploads/5349e18c86eb96eee258a5c1f19122d0/$pkgname-$pkgver.tar.xz
update-mime-database.hook)
sha256sums=('6ea80a5bc7b20598f3b0f9f92942fdb4322245b79d7ed3c3ee18816fcb472cae'
'7ecdd55ff7c4331e188cf46debbcc5660edb0e2bbeb4dd87cc5b87278c292821')
options=(!makeflags)

build() {
cd ${pkgname}-${pkgver}
# https://bugs.archlinux.org/task/38836
# https://bugs.freedesktop.org/show_bug.cgi?id=70366
export ac_cv_func_fdatasync=no
./configure --prefix=/usr --disable-update-mimedb
make
}

check() {
cd ${pkgname}-${pkgver}
make -k check || :
}

package() {
cd ${pkgname}-${pkgver}
make DESTDIR="${pkgdir}" install

install -Dm644 "$srcdir"/update-mime-database.hook "$pkgdir"/usr/share/libalpm/hooks/update-mime-database.hook
}

+ 0
- 7
shared-mime-info/trunk/shared-mime-info.install View File

@@ -1,7 +0,0 @@
post_remove() {
if [ -d usr/share/mime ]; then
rm -f usr/share/mime/{globs,globs2,icons,treemagic,generic-icons,types,magic,XMLnamespaces,subclasses,aliases,mime.cache}
rm -rf usr/share/mime/{application,audio,image,inode,message,model,multipart,text,video,x-content,x-epoc}
rmdir --ignore-fail-on-non-empty usr/share/mime
fi
}

+ 0
- 11
shared-mime-info/trunk/update-mime-database.hook View File

@@ -1,11 +0,0 @@
[Trigger]
Type = File
Operation = Install
Operation = Upgrade
Operation = Remove
Target = usr/share/mime/packages/*.xml

[Action]
Description = Updating the MIME type database...
When = PostTransaction
Exec = /usr/bin/update-mime-database /usr/share/mime

Loading…
Cancel
Save