[arch-commits] Commit in griffith/trunk (PKGBUILD build.patch)

Antonio Rojas arojas at archlinux.org
Sun Mar 14 09:29:21 UTC 2021


    Date: Sunday, March 14, 2021 @ 09:29:21
  Author: arojas
Revision: 891036

Update to 0.7

Modified:
  griffith/trunk/PKGBUILD
Deleted:
  griffith/trunk/build.patch

-------------+
 PKGBUILD    |   11 +---------
 build.patch |   62 ----------------------------------------------------------
 2 files changed, 2 insertions(+), 71 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2021-03-14 09:28:33 UTC (rev 891035)
+++ PKGBUILD	2021-03-14 09:29:21 UTC (rev 891036)
@@ -10,7 +10,7 @@
 # Contributor: John Cheetham <https://gitlab.com/johncheetham>
 
 pkgname=griffith
-pkgver=0.16
+pkgver=0.17
 pkgrel=1
 pkgdesc="Movie collection manager application"
 arch=(any)
@@ -18,17 +18,10 @@
 license=(GPL2)
 depends=(gtkspell3 python-chardet python-gobject python-pillow python-reportlab python-sqlalchemy)
 source=("https://gitlab.com/Strit/$pkgname/-/archive/$pkgver/$pkgname-$pkgver.tar.gz"
-        "build.patch"
         "griffith.appdata.xml")
-sha256sums=('0db158bedb9ae598e571fb2180723bd91d2aff07a0dcf4bbb6135e02176b88c8'
-            '16fa6f25863a5e040b6d7e8e251ff172c0614a33b6bf7ae1f3f159a67ec0ed9c'
+sha256sums=('e7d49717adc934801a0d810525f2b203b20672c18b4da889018121ef9019bc68'
             '2556b99b18e2d53ca1e96c9d0edded9673c80020f9f832faf343eb1a71632f20')
 
-prepare() {
-  cd $pkgname-$pkgver
-  patch -Np1 -i ../build.patch
-}
-
 package() {
   cd $pkgname-$pkgver
   make DESTDIR="$pkgdir" install

Deleted: build.patch
===================================================================
--- build.patch	2021-03-14 09:28:33 UTC (rev 891035)
+++ build.patch	2021-03-14 09:29:21 UTC (rev 891036)
@@ -1,62 +0,0 @@
-diff --git a/Makefile b/Makefile
-index 38104ee..afb4f9b 100755
---- a/Makefile
-+++ b/Makefile
-@@ -22,7 +22,6 @@ DOC2MAN ?= docbook2x-man
- 
- PREFIX ?= $(DESTDIR)/usr
- BINDIR = $(PREFIX)/bin
--ETCDIR = $(DESTDIR)/etc
- DATADIR = $(PREFIX)/share/griffith
- LIBDIR = $(DATADIR)/lib
- IMAGESDIR = $(DATADIR)/images
-@@ -34,9 +33,9 @@ IMPORTPLUGINSDIR = $(PLUGINSDIR)/imp
- EXTENSIONSPLUGINSDIR = $(PLUGINSDIR)/extensions
- TPLDIR = $(DATADIR)/export_templates
- APPLICATIONSDIR = $(PREFIX)/share/applications
--ICONDIR = $(PREFIX)/share/pixmaps
-+ICONDIR = $(PREFIX)/share/icons/hicolor/scalable/apps
- LOCALEDIR = $(PREFIX)/share/locale
--BASHCOMPDIR = $(ETCDIR)/bash_completion.d
-+BASHCOMPDIR = $(PREFIX)/share/bash-completion/completions
- 
- help:
- 	@echo Usage:
-@@ -56,7 +55,7 @@ install:
- 	$(INSTALL) -m 755 -d $(BINDIR) $(DATADIR) $(LIBDIR) $(LIBDIR)/db \
- 		$(PLUGINSDIR) $(MOVIEPLUGINSDIR) $(EXPORTPLUGINSDIR) $(IMPORTPLUGINSDIR) $(EXTENSIONSPLUGINSDIR) \
- 		$(FONTSDIR) $(APPLICATIONSDIR) $(ICONDIR) $(TPLDIR) \
--		$(IMAGESDIR) $(GLADEDIR) $(ETCDIR) $(BASHCOMPDIR)
-+		$(IMAGESDIR) $(GLADEDIR) $(BASHCOMPDIR)
- 	$(INSTALL) -m 755 griffith $(LIBDIR)
- 	$(INSTALL) -m 644 lib/*.py $(LIBDIR)
- 	$(INSTALL) -m 644 lib/db/*.py $(LIBDIR)/db/
-@@ -68,8 +67,7 @@ install:
- 	$(INSTALL) -m 644 glade/*.ui $(GLADEDIR)
- 	$(INSTALL) -m 644 glade/*.png $(GLADEDIR)
- 	$(INSTALL) -m 644 images/*.png $(IMAGESDIR)
--	$(INSTALL) -m 644 images/griffith.png $(ICONDIR)
--	$(INSTALL) -m 644 images/griffith.xpm $(ICONDIR)
-+	$(INSTALL) -m 644 images/griffith.svg $(ICONDIR)
- 	$(INSTALL) -m 644 data/griffith.desktop $(APPLICATIONSDIR)
- 	$(INSTALL) -m 644 data/bash_completion $(BASHCOMPDIR)/griffith
- 	
-@@ -88,7 +86,7 @@ install:
- 	
- 	if test -f $(PREFIX)/bin/griffith; then ${RM} $(PREFIX)/bin/griffith; fi	
- 	
--	ln -s $(LIBDIR)/griffith $(BINDIR)/griffith
-+	ln -s ../share/griffith/lib/griffith $(BINDIR)/griffith
- 	chmod +x $(BINDIR)/griffith
- 	$(MAKE) -C docs install
- 
-@@ -106,8 +104,7 @@ uninstall:
- 	${RM} -r $(IMAGESDIR)
- 	${RM} -r $(GLADEDIR)
- 	${RM} -r $(DATADIR)
--	${RM} -r $(ICONDIR)/griffith.png
--	${RM} -r $(ICONDIR)/griffith.xpm
-+	${RM} -r $(ICONDIR)/griffith.svg
- 	${RM} -r $(APPLICATIONSDIR)/griffith.desktop
- 	for lang in $(LANGUAGES); do \
- 		${RM} -r $(LOCALEDIR)/$$lang/LC_MESSAGES/griffith.mo; \



More information about the arch-commits mailing list