[arch-commits] Commit in gottengeography/trunk (PKGBUILD)

Balló György bgyorgy at archlinux.org
Sun May 23 10:08:55 UTC 2021


    Date: Sunday, May 23, 2021 @ 10:08:55
  Author: bgyorgy
Revision: 943106

Minor changes

Modified:
  gottengeography/trunk/PKGBUILD

----------+
 PKGBUILD |   21 ++++++++++-----------
 1 file changed, 10 insertions(+), 11 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2021-05-23 10:08:10 UTC (rev 943105)
+++ PKGBUILD	2021-05-23 10:08:55 UTC (rev 943106)
@@ -11,26 +11,25 @@
 makedepends=('git' 'python-distutils-extra')
 _commit=7ea816fcaad366a4c6be6b16725fc3e1bff57e4d  # master
 source=("git+https://git.launchpad.net/gottengeography#commit=$_commit"
-        gottengeography.appdata.xml
-        fixes.patch)
+        'gottengeography.appdata.xml'
+        'fixes.patch')
 sha256sums=('SKIP'
             '8cf14124c72dd6213254ce0f3a8404916f30f2bd9b9350530760d77825632d75'
             '6adfc419b27dd2f10e787e5296d8904612aaf0cdca0d1f9949d37d42daf86047')
 
 prepare() {
-	cd $pkgname
-
-	# Various fixes
-	patch -Np1 -i ../fixes.patch
+  cd $pkgname
+  # Various fixes
+  patch -Np1 -i ../fixes.patch
 }
 
 build() {
-	cd $pkgname
-	python setup.py build
+  cd $pkgname
+  python setup.py build
 }
 
 package() {
-	cd $pkgname
-	python setup.py install --root="$pkgdir" --optimize=1
-	install -Dm644 ../gottengeography.appdata.xml "$pkgdir/usr/share/metainfo/gottengeography.appdata.xml"
+  cd $pkgname
+  python setup.py install --root="$pkgdir" --optimize=1 --skip-build
+  install -Dm644 ../gottengeography.appdata.xml "$pkgdir/usr/share/metainfo/gottengeography.appdata.xml"
 }



More information about the arch-commits mailing list