[arch-commits] Commit in mcomix/repos/community-any (PKGBUILD PKGBUILD)

Jakob Gruber schuay at archlinux.org
Thu May 28 07:34:25 UTC 2020


    Date: Thursday, May 28, 2020 @ 07:34:23
  Author: schuay
Revision: 636142

archrelease: copy trunk to community-any

Added:
  mcomix/repos/community-any/PKGBUILD
    (from rev 636141, mcomix/trunk/PKGBUILD)
Deleted:
  mcomix/repos/community-any/PKGBUILD

----------+
 PKGBUILD |   90 +++++++++++++++++++++++++++++--------------------------------
 1 file changed, 44 insertions(+), 46 deletions(-)

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2020-05-28 07:34:14 UTC (rev 636141)
+++ PKGBUILD	2020-05-28 07:34:23 UTC (rev 636142)
@@ -1,46 +0,0 @@
-# Maintainer: schuay <jakob.gruber at gmail.com>
-# Contributor: Ray Powell <ray_al at xphoniexx.net>
-
-pkgname=mcomix
-pkgver=1.3.0.dev0
-pkgrel=2
-pkgdesc="A user-friendly, customizable image viewer specifically designed to handle comic books"
-arch=('any')
-url="https://github.com/multiSnow/mcomix3"
-license=('GPL')
-depends=('gtk3' 'python-cairo' 'python-gobject' 'python-pillow')
-makedepends=('git')
-optdepends=('libunrar: for rar compressed comics'
-            'mupdf-tools: for pdf comics'
-            'p7zip: for 7zip compressed comics')
-_commit=2f82616f34154624c78fb6eca3bc0cc5cdef0cf3  # gtk3
-source=("git+https://github.com/multiSnow/mcomix3.git#commit=$_commit")
-md5sums=('SKIP')
-
-package() {
-  cd mcomix3
-
-  python installer.py --srcdir=mcomix --target="${pkgdir}"/usr/share
-
-  install -dm755 "$pkgdir"/usr/bin
-  ln -s /usr/share/mcomix/mcomixstarter.py "$pkgdir"/usr/bin/mcomix
-  ln -s /usr/share/mcomix/comicthumb.py "$pkgdir"/usr/bin/comicthumb
-
-  install -Dm644 mime/mcomix.desktop "$pkgdir"/usr/share/applications/mcomix.desktop
-  install -Dm644 mime/mcomix.appdata.xml "$pkgdir"/usr/share/metainfo/mcomix.appdata.xml
-  install -Dm644 mime/mcomix.xml "$pkgdir"/usr/share/mime/packages/mcomix.xml
-  install -Dm644 mime/comicthumb.thumbnailer "$pkgdir"/usr/share/thumbnailers/comicthumb.thumbnailer
-
-  for size in 16x16 22x22 24x24 32x32 48x48
-  do
-    install -dm755 "$pkgdir"/usr/share/icons/hicolor/$size/apps/
-    install -Dm644 mcomix/mcomix/images/$size/mcomix.png "$pkgdir"/usr/share/icons/hicolor/$size/apps/mcomix.png
-    install -Dm644 mime/icons/$size/application-x-cb7.png "$pkgdir"/usr/share/icons/hicolor/$size/mimetypes/application-x-cb7.png
-    install -Dm644 mime/icons/$size/application-x-cbr.png "$pkgdir"/usr/share/icons/hicolor/$size/mimetypes/application-x-cbr.png
-    install -Dm644 mime/icons/$size/application-x-cbt.png "$pkgdir"/usr/share/icons/hicolor/$size/mimetypes/application-x-cbt.png
-    install -Dm644 mime/icons/$size/application-x-cbz.png "$pkgdir"/usr/share/icons/hicolor/$size/mimetypes/application-x-cbz.png
-  done
-
-  install -Dm644 man/mcomix.1 "$pkgdir"/usr/share/man/man1/mcomix.1
-  install -Dm644 man/comicthumb.1 "$pkgdir"/usr/share/man/man1/comicthumb.1
-}

Copied: mcomix/repos/community-any/PKGBUILD (from rev 636141, mcomix/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2020-05-28 07:34:23 UTC (rev 636142)
@@ -0,0 +1,44 @@
+# Maintainer: schuay <jakob.gruber at gmail.com>
+# Contributor: Ray Powell <ray_al at xphoniexx.net>
+
+pkgname=mcomix
+# Might want to move to date-based versions.
+pkgver=1.3.0.dev0
+pkgrel=3
+pkgdesc="A user-friendly, customizable image viewer specifically designed to handle comic books"
+arch=('any')
+url="https://github.com/multiSnow/mcomix3"
+license=('GPL')
+depends=('gtk3' 'python-cairo' 'python-gobject' 'python-pillow')
+makedepends=('git')
+optdepends=('libunrar: for rar compressed comics'
+            'mupdf-tools: for pdf comics'
+            'p7zip: for 7zip compressed comics')
+_commit=a95f08140fc8850890f283bc06e3e2615477d736  # HEAD as of 20200528.
+source=("git+https://github.com/multiSnow/mcomix3.git#commit=$_commit")
+md5sums=('SKIP')
+
+package() {
+  cd mcomix3
+
+  python installer.py --srcdir=mcomix --target="${pkgdir}"/usr/share
+
+  install -dm755 "$pkgdir"/usr/bin
+  ln -s /usr/share/mcomix/mcomixstarter.py "$pkgdir"/usr/bin/mcomix
+  ln -s /usr/share/mcomix/comicthumb.py "$pkgdir"/usr/bin/comicthumb
+
+  install -Dm644 mime/mcomix.desktop "$pkgdir"/usr/share/applications/mcomix.desktop
+  install -Dm644 mime/mcomix.appdata.xml "$pkgdir"/usr/share/metainfo/mcomix.appdata.xml
+  install -Dm644 mime/comicthumb.thumbnailer "$pkgdir"/usr/share/thumbnailers/comicthumb.thumbnailer
+
+  for size in 16x16 22x22 24x24 32x32 48x48
+  do
+    install -dm755 "$pkgdir"/usr/share/icons/hicolor/$size/apps/
+    install -Dm644 mcomix/mcomix/images/$size/mcomix.png "$pkgdir"/usr/share/icons/hicolor/$size/apps/mcomix.png
+    install -Dm644 mime/icons/$size/application-x-cb7.png "$pkgdir"/usr/share/icons/hicolor/$size/mimetypes/application-x-cb7.png
+    install -Dm644 mime/icons/$size/application-x-cbt.png "$pkgdir"/usr/share/icons/hicolor/$size/mimetypes/application-x-cbt.png
+  done
+
+  install -Dm644 man/mcomix.1 "$pkgdir"/usr/share/man/man1/mcomix.1
+  install -Dm644 man/comicthumb.1 "$pkgdir"/usr/share/man/man1/comicthumb.1
+}


More information about the arch-commits mailing list