[arch-commits] Commit in gramps/repos (2 files)
Felix Yan
felixonmars at archlinux.org
Thu Nov 12 19:21:31 UTC 2020
Date: Thursday, November 12, 2020 @ 19:21:31
Author: felixonmars
Revision: 753440
archrelease: copy trunk to community-staging-any
Added:
gramps/repos/community-staging-any/
gramps/repos/community-staging-any/PKGBUILD
(from rev 753437, gramps/trunk/PKGBUILD)
----------+
PKGBUILD | 45 +++++++++++++++++++++++++++++++++++++++++++++
1 file changed, 45 insertions(+)
Copied: gramps/repos/community-staging-any/PKGBUILD (from rev 753437, gramps/trunk/PKGBUILD)
===================================================================
--- community-staging-any/PKGBUILD (rev 0)
+++ community-staging-any/PKGBUILD 2020-11-12 19:21:31 UTC (rev 753440)
@@ -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.3
+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=('91d755b7e407af40ce5ebe24b29baab860bc6e2871ebcbee3f5e109c438df1e8')
+
+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