summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorkmfrick2019-12-23 16:01:29 +0100
committerkmfrick2019-12-23 16:01:29 +0100
commit5410e1ddc74e07bfa170e9d815de7b4c90ddd2b1 (patch)
treed6393c940c3162e27d0ee601c479e00712002ac9
downloadaur-5410e1ddc74e07bfa170e9d815de7b4c90ddd2b1.tar.gz
Initial commit
-rw-r--r--.SRCINFO23
-rw-r--r--PKGBUILD31
2 files changed, 54 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO
new file mode 100644
index 00000000000..8b98f35aaa8
--- /dev/null
+++ b/.SRCINFO
@@ -0,0 +1,23 @@
+pkgbase = ephemeral
+ pkgdesc = The always-incognito web browser. Browse the Internet in private without leaving a trace of history on your computer.
+ pkgver = git
+ pkgrel = 1
+ url = https://github.com/cassidyjames/ephemeral
+ arch = x86_64
+ license = GPL3
+ depends = dconf
+ depends = desktop-file-utils
+ depends = glib2>=2.49.2
+ depends = granite>=5.2.3
+ depends = gtk3>=3.22.29
+ depends = hicolor-icon-theme
+ depends = libdazzle>=3.25.3
+ depends = libgee>=0.8.3
+ depends = libsoup>=2.32.2
+ depends = webkit2gtk>=2.15.4
+ conflicts = ephemeral-bin
+ source = git+https://github.com/cassidyjames/ephemeral
+ md5sums = SKIP
+
+pkgname = ephemeral
+
diff --git a/PKGBUILD b/PKGBUILD
new file mode 100644
index 00000000000..3f7f4bac040
--- /dev/null
+++ b/PKGBUILD
@@ -0,0 +1,31 @@
+# Maintainer: Kevin Michael Frick <kmfrick #AT# gmail #DOT# com>
+
+pkgname=ephemeral
+conflicts=('ephemeral-bin')
+_projectname=com.github.cassidyjames.ephemeral
+pkgver=git
+pkgrel=1
+pkgdesc="The always-incognito web browser. Browse the Internet in private without leaving a trace of history on your computer."
+arch=('x86_64')
+url="https://github.com/cassidyjames/ephemeral"
+license=('GPL3')
+depends=('dconf' 'desktop-file-utils' 'glib2>=2.49.2' 'granite>=5.2.3' 'gtk3>=3.22.29' 'hicolor-icon-theme' 'libdazzle>=3.25.3' 'libgee>=0.8.3' 'libsoup>=2.32.2' 'webkit2gtk>=2.15.4')
+source=("git+https://github.com/cassidyjames/ephemeral")
+md5sums=('SKIP')
+
+package(){
+
+ cd "${srcdir}/${pkgname}"
+ meson build --prefix=/usr
+ cd build
+ ninja
+ 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"
+
+ # Update desktop file to match renamed package binary
+ sed -i "s/Exec=${_projectname}/Exec=${pkgname}/" "${pkgdir}/usr/share/applications/${pkgname}.desktop"
+
+}