makedeb


rare 1.10.11-1


A GUI for legendary, an open source replacement for Epic Games Launcher

Click here to go back to the commit logs for rare.

Commit:


Hash: 3d388f0865513dfe8bc4bd7fb7461ac329c0d362

Message: rename python to python3

Diff


diff --git a/.SRCINFO b/.SRCINFO
index d8f2d43..e3e95d8 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -2,25 +2,24 @@ generated-by = makedeb-makepkg
 
 pkgbase = rare
 	pkgdesc = A GUI for legendary, an open source replacement for Epic Games Launcher
-	pkgver = 1.7.0
+	pkgver = 1.7.1
 	pkgrel = 1
 	url = https://github.com/Dummerle/Rare
 	arch = any
 	license = GPL3
 	makedepends = git
-	makedepends = python-setuptools
-	makedepends = gendesk
-	depends = python-wheel
-	depends = python-setuptools
-	depends = python-pyqt5
-	depends = python-qtawesome
-	depends = python-requests
-	depends = python-psutil
-	depends = python-pypresence
+	makedepends = python3-setuptools
+	depends = python3-wheel
+	depends = python3-setuptools
+	depends = python3-pyqt5
+	depends = python3-qtawesome
+	depends = python3-requests
+	depends = python3-psutil
+	depends = python3-pypresence
 	optdepends = wine-staging: Run windows games
 	conflicts = legendary
 	conflicts = rare-git
-	source = rare-1.7.0::git+https://github.com/Dummerle/Rare#tag=1.7.0
+	source = rare-1.7.1::git+https://github.com/Dummerle/Rare#tag=1.7.1
 	sha256sums = SKIP
 
 pkgname = rare
diff --git a/PKGBUILD b/PKGBUILD
index 31185a7..f198e9e 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -2,15 +2,15 @@
 # Maintainer: zocker_160 <zocker1600 at posteo dot net>
 
 pkgname=rare
-pkgver=1.7.0
+pkgver=1.7.1
 pkgrel=1
 pkgdesc="A GUI for legendary, an open source replacement for Epic Games Launcher"
 arch=('any')
 url="https://github.com/Dummerle/Rare"
 license=('GPL3')
 groups=()
-depends=("python-wheel" "python-setuptools" "python-pyqt5" "python-qtawesome" "python-requests" "python-psutil" "python-pypresence")
-makedepends=("git" "python-setuptools" "gendesk")
+depends=("python3-wheel" "python3-setuptools" "python3-pyqt5" "python3-qtawesome" "python3-requests" "python3-psutil" "python3-pypresence")
+makedepends=("git" "python3-setuptools")
 checkdepends=()
 optdepends=("wine-staging: Run windows games")
 provides=()
@@ -31,11 +31,6 @@ prepare() {
       cd "$srcdir/$pkgname-$pkgver"
       cp $srcdir/$pkgname-$pkgver/rare/resources/images/Rare.png $srcdir/$pkgname-$pkgver/$pkgname.png
       sed -i 's/mdi.view-grid-outline/mdi.view-grid/' $srcdir/$pkgname-$pkgver/rare/utils/extra_widgets.py
-      gendesk -f -n \
-        --pkgname "$pkgname" \
-        --pkgdesc "$pkgdesc" \
-        --categories "Application;Game;Launcher" \
-        --custom "Keywords=epic;games;launcher;legendary;"
 }
 
 build() {
@@ -45,8 +40,8 @@ build() {
 
 package() {
 	cd "$srcdir/$pkgname-$pkgver"
-	python setup.py install --root="$pkgdir/" --optimize=1 --skip-build
-	install -Dm644 "${pkgname}.desktop" "$pkgdir/usr/share/applications/${pkgname}.desktop"
+	python3 setup.py install --root="$pkgdir/" --optimize=1 --skip-build
+	install -Dm644 "scripts/${pkgname}.desktop" "$pkgdir/usr/share/applications/${pkgname}.desktop"
 	install -Dm644 "${pkgname}.png" "$pkgdir/usr/share/pixmaps/$pkgname.png"
 }