makedeb


mybrowse 0.5-1


A simple WebKit browser written in Python3 and using GTK3

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

Commit:


Hash: 138f2aebf1444e1940bedfb49983bb37f87edcb9

Message: Backport style fixes done by kleintux https://aur.archlinux.org/packages/mybrowse/#comment-817736

Diff


diff --git a/.SRCINFO b/.SRCINFO
index 971e524..d1a3f62 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,7 +1,7 @@
 pkgbase = mybrowse
 	pkgdesc = A simple WebKit browser written in Python3 and using GTK3
 	pkgver = 0.4
-	pkgrel = 1
+	pkgrel = 2
 	url = https://github.com/KaiserBarbarossa/MyBrowse
 	arch = any
 	license = GPL3
diff --git a/PKGBUILD b/PKGBUILD
index ff8bd89..eed9f82 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -1,20 +1,18 @@
 # Maintainer: tuxifreund <kaiser.barbarossa@yandex.com>
 pkgname=mybrowse
 pkgver=0.4
-pkgrel=1
+pkgrel=2
 pkgdesc="A simple WebKit browser written in Python3 and using GTK3"
 arch=('any')
 url="https://github.com/KaiserBarbarossa/MyBrowse"
 license=('GPL3')
 depends=('python3' 'python3-gi' 'gir1.2-webkit2-4.0')
-source=("${pkgname}-${pkgver}.tar.gz::https://github.com/KaiserBarbarossa/mybrowse/archive/v$pkgver.tar.gz")
+source=("${pkgname}-${pkgver}.tar.gz::https://github.com/KaiserBarbarossa/${pkgname}/archive/v${pkgver}.tar.gz")
 sha256sums=('20195b0e61c484c68cc124c66b352305d60a9d779a772dcba95adc9ad43bbe02')
 
 
 package() {
 	cd "MyBrowse-$pkgver"
-	mkdir -p $pkgdir/usr/bin
-	mkdir -p $pkgdir/usr/share/applications
-	install -Dm755 mybrowse $pkgdir/usr/bin
-	install -Dm644 mybrowse.desktop $pkgdir/usr/share/applications
+	install -Dm755 "${pkgname}" "${pkgdir}/usr/bin/${pkgname}"
+	install -Dm644 "${pkgname}.desktop" "${pkgdir}/usr/share/applications/${pkgname}.desktop"
 }