summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorpapajoker2016-08-18 17:41:24 +0200
committerpapajoker2016-08-18 17:41:24 +0200
commit5c7e27861e6f7329f1fb5369f78422362dee0b5a (patch)
tree0d00835a40ba08d364e7ef3a0933f45a42044192
downloadaur-5c7e27861e6f7329f1fb5369f78422362dee0b5a.tar.gz
first release
-rw-r--r--.SRCINFO26
-rw-r--r--PKGBUILD36
-rwxr-xr-xsys-journald.desktop10
3 files changed, 72 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO
new file mode 100644
index 00000000000..dcffb0ae859
--- /dev/null
+++ b/.SRCINFO
@@ -0,0 +1,26 @@
+# Generated by mksrcinfo v8
+# Thu Aug 18 15:11:40 UTC 2016
+pkgbase = sys-journald-bin
+ pkgdesc = view journald logs with electron AppImage.
+ pkgver = 0.1.0
+ pkgrel = 1
+ url = https://github.com/papajoker/sys-journald
+ arch = x86_64
+ license = GPL2
+ depends = gcc-libs
+ depends = gconf
+ depends = alsa-lib
+ depends = nss
+ depends = libxtst
+ depends = gtk2
+ depends = libnotify
+ depends = systemd
+ noextract = http://test.webstratege.fr/sys-journald-0.1.0-1-x86_64.AppImage
+ options = !strip
+ source = http://test.webstratege.fr/sys-journald-0.1.0-1-x86_64.AppImage
+ source = sys-journald.desktop
+ md5sums = e877d4ecc478c519f17db965ae4fc01e
+ md5sums = ea952c0a0b172fca4a35eea90b58e700
+
+pkgname = sys-journald-bin
+
diff --git a/PKGBUILD b/PKGBUILD
new file mode 100644
index 00000000000..c481119c54a
--- /dev/null
+++ b/PKGBUILD
@@ -0,0 +1,36 @@
+# Maintainer: papajoke <papajoke at archlinux dot info>
+
+pkgname=sys-journald-bin
+_pkgname=sys-journald
+pkgver=0.1.0
+pkgrel=1
+pkgdesc="view journald logs with electron AppImage."
+arch=('x86_64')
+url="https://github.com/papajoker/sys-journald"
+_src="http://test.webstratege.fr/"
+license=('GPL2')
+depends=('gcc-libs' 'gconf' 'alsa-lib' 'nss' 'libxtst' 'gtk2' 'libnotify' 'systemd')
+#makedepends=('p7zip')
+conflicts=('sys-journald-bin')
+#noextract=("${_pkgname}-${pkgver}-${pkgrel}-x86_64.AppImage")
+options=('!strip')
+source=("${_src}${_pkgname}-${pkgver}-${pkgrel}-x86_64.AppImage"
+ "${_pkgname}.desktop")
+md5sums=('e877d4ecc478c519f17db965ae4fc01e' 'ea952c0a0b172fca4a35eea90b58e700' )
+
+prepare() {
+ cd "${srcdir}"
+ mkdir -p "${srcdir}/opt/${_pkgname}"
+ rm -r usr/bin
+ #7z x -y "${srcdir}/${_pkgname}-${pkgver}-${pkgrel}-x86_64.AppImage" usr/share/icons
+ install -v -Dm755 "${_pkgname}-${pkgver}-${pkgrel}-x86_64.AppImage" "opt/${_pkgname}/${_pkgname}.AppImage"
+ mv "${_pkgname}.desktop" "${srcdir}/opt/${_pkgname}/${_pkgname}.desktop"
+}
+
+package() {
+ cd "${srcdir}/"
+ cp -rp usr "${pkgdir}/usr"
+ cp -rp opt "${pkgdir}/opt"
+ mkdir -p "${pkgdir}/usr/bin/"
+ ln -s /opt/${_pkgname}/${_pkgname}.AppImage ${pkgdir}/usr/bin/${_pkgname}
+}
diff --git a/sys-journald.desktop b/sys-journald.desktop
new file mode 100755
index 00000000000..0d1451400a4
--- /dev/null
+++ b/sys-journald.desktop
@@ -0,0 +1,10 @@
+#!/usr/bin/env xdg-open
+[Desktop Entry]
+Name=sys-journald
+Comment=view journald logs with electron app
+Comment[fr]=logs de journald
+Exec=/usr/bin/sys-journald
+Terminal=false
+Type=Application
+Icon=sys-journald
+Categories=Utility;