summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorkmfrick2019-12-23 16:02:58 +0100
committerkmfrick2019-12-23 16:03:30 +0100
commita7c0682a8654eaa25b17518ac87972e8c42e215b (patch)
tree4add83ff188bf7aa882c028b601e249a859f1857
parent5410e1ddc74e07bfa170e9d815de7b4c90ddd2b1 (diff)
downloadaur-a7c0682a8654eaa25b17518ac87972e8c42e215b.tar.gz
Updated PKGBUILD to have correct pkgbase
-rw-r--r--.SRCINFO4
-rw-r--r--PKGBUILD11
2 files changed, 8 insertions, 7 deletions
diff --git a/.SRCINFO b/.SRCINFO
index 8b98f35aaa8..91b061b1885 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,4 +1,4 @@
-pkgbase = ephemeral
+pkgbase = ephemeral-git
pkgdesc = The always-incognito web browser. Browse the Internet in private without leaving a trace of history on your computer.
pkgver = git
pkgrel = 1
@@ -19,5 +19,5 @@ pkgbase = ephemeral
source = git+https://github.com/cassidyjames/ephemeral
md5sums = SKIP
-pkgname = ephemeral
+pkgname = ephemeral-git
diff --git a/PKGBUILD b/PKGBUILD
index 3f7f4bac040..c51d18ade92 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -1,7 +1,8 @@
-# Maintainer: Kevin Michael Frick <kmfrick #AT# gmail #DOT# com>
+# Maintainer: Kevin Michael Frick <kmfrick#AT#gmail#DOT#com>
-pkgname=ephemeral
+pkgname=ephemeral-git
conflicts=('ephemeral-bin')
+_appname=ephemeral
_projectname=com.github.cassidyjames.ephemeral
pkgver=git
pkgrel=1
@@ -22,10 +23,10 @@ package(){
DESTDIR="${pkgdir}" ninja install
# Rename major files from for better system integration
- mv "${pkgdir}/usr/bin/${_projectname}" "${pkgdir}/usr/bin/${pkgname}"
- mv "${pkgdir}/usr/share/applications/${_projectname}.desktop" "${pkgdir}/usr/share/applications/${pkgname}.desktop"
+ mv "${pkgdir}/usr/bin/${_projectname}" "${pkgdir}/usr/bin/${_appname}"
+ mv "${pkgdir}/usr/share/applications/${_projectname}.desktop" "${pkgdir}/usr/share/applications/${_appname}.desktop"
# Update desktop file to match renamed package binary
- sed -i "s/Exec=${_projectname}/Exec=${pkgname}/" "${pkgdir}/usr/share/applications/${pkgname}.desktop"
+ sed -i "s/Exec=${_projectname}/Exec=${_appname}/" "${pkgdir}/usr/share/applications/${_appname}.desktop"
}