[arch-commits] Commit in gramps/repos (2 files)

Felix Yan felixonmars at archlinux.org
Mon Nov 4 07:16:06 UTC 2019


    Date: Monday, November 4, 2019 @ 07:16:04
  Author: felixonmars
Revision: 523472

archrelease: copy trunk to community-staging-any

Added:
  gramps/repos/community-staging-any/
  gramps/repos/community-staging-any/PKGBUILD
    (from rev 523471, gramps/trunk/PKGBUILD)

----------+
 PKGBUILD |   45 +++++++++++++++++++++++++++++++++++++++++++++
 1 file changed, 45 insertions(+)

Copied: gramps/repos/community-staging-any/PKGBUILD (from rev 523471, gramps/trunk/PKGBUILD)
===================================================================
--- community-staging-any/PKGBUILD	                        (rev 0)
+++ community-staging-any/PKGBUILD	2019-11-04 07:16:04 UTC (rev 523472)
@@ -0,0 +1,45 @@
+# Maintainer: Balló György <ballogyor+arch at gmail dot com>
+# Contributor: Sergej Pupykin <pupykin.s+arch at gmail.com>
+# Contributor: William Rea <sillywilly at gmail.com>
+# Contributor: Cory Farmer <rbgkofi at ameritech.net>
+
+pkgname=gramps
+pkgver=5.1.1
+pkgrel=2
+epoch=2
+pkgdesc="Genealogy program, which helps you track your family tree"
+arch=('any')
+url="https://gramps-project.org/"
+license=('GPL')
+depends=('gtk3' 'python-bsddb' 'python-cairo' 'python-gobject' 'xdg-utils')
+makedepends=('intltool')
+optdepends=('osm-gps-map: show maps in the geography view'
+            'graphviz: enable creation of graphs (required for tree reports)'
+            'python-pyicu: improves localised sorting'
+            'gtkspell3: enable spell checking in the notes'
+            'rcs: manage multiple revisions of your family trees'
+            'python-pillow: crop and convert images to JPG'
+            'libgexiv2: manage Exif metadata embedded in your media'
+            'geocode-glib: associate a geographical position to a place name')
+source=("$pkgname-$pkgver.tar.gz::https://github.com/gramps-project/$pkgname/archive/v$pkgver.tar.gz")
+sha256sums=('7623c1e976a19e121f6fa799ca619def18672000ba7fd505abdaa9e782920eda')
+
+build() {
+  cd $pkgname-$pkgver
+  python3 setup.py build
+}
+
+package() {
+  cd $pkgname-$pkgver
+  python3 setup.py install --root="$pkgdir" --optimize=1
+  echo -n '/usr/share' >"$pkgdir"/usr/lib/python*/site-packages/gramps/gen/utils/resource-path
+
+  # Install application icon to its correct place
+  install -dm755 "$pkgdir"/usr/share/icons/hicolor/{16x16,22x22,24x24,48x48,scalable}/apps
+  mv "$pkgdir"/usr/share/gramps/images/hicolor/16x16/actions/gramps.png "$pkgdir"/usr/share/icons/hicolor/16x16/apps/gramps.png
+  mv "$pkgdir"/usr/share/gramps/images/hicolor/22x22/actions/gramps.png "$pkgdir"/usr/share/icons/hicolor/22x22/apps/gramps.png
+  mv "$pkgdir"/usr/share/gramps/images/hicolor/24x24/actions/gramps.png "$pkgdir"/usr/share/icons/hicolor/24x24/apps/gramps.png
+  mv "$pkgdir"/usr/share/gramps/images/hicolor/48x48/actions/gramps.png "$pkgdir"/usr/share/icons/hicolor/48x48/apps/gramps.png
+  mv "$pkgdir"/usr/share/gramps/images/hicolor/scalable/actions/gramps.svg "$pkgdir"/usr/share/icons/hicolor/scalable/apps/gramps.svg
+  rm "$pkgdir"/usr/share/icons/gramps.png
+}



More information about the arch-commits mailing list