diff options
author | Yves Hoppe | 2020-05-08 21:59:07 +0200 |
---|---|---|
committer | Yves Hoppe | 2020-05-08 21:59:07 +0200 |
commit | c1d59f481db00e98a484d91519079dbb5f5dc5cf (patch) | |
tree | 9c16d0bbaf40c99f8faa0b03f2483e0a78a7a4b2 | |
download | aur-c1d59f481db00e98a484d91519079dbb5f5dc5cf.tar.gz |
Add Empoche to aur
-rw-r--r-- | .SRCINFO | 17 | ||||
-rw-r--r-- | PKGBUILD | 35 |
2 files changed, 52 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO new file mode 100644 index 000000000000..20a42fab9bf9 --- /dev/null +++ b/.SRCINFO @@ -0,0 +1,17 @@ +pkgbase = empoche + pkgdesc = New Time Tracking and Task Management application. + pkgver = 0.3.0 + pkgrel = 1 + url = https://empoche.com + arch = x86_64 + license = Properitary + depends = libnotify + depends = libappindicator-gtk3 + depends = libxss + depends = nss + provides = empoche + source_x86_64 = https://empoche-desktop.s3.eu-central-1.amazonaws.com/empoche-0.3.0.pacman + sha256sums_x86_64 = 70ff7565627a76976a9f6a11aa6f5501a7c936b0b7fcaf49dfb6e51f21366262 + +pkgname = empoche + diff --git a/PKGBUILD b/PKGBUILD new file mode 100644 index 000000000000..ff250cbe1e80 --- /dev/null +++ b/PKGBUILD @@ -0,0 +1,35 @@ +# Maintainer: Yves Hoppe <contact@empoche.com> + +pkgname=empoche +pkgrel=1 +pkgver=0.3.0 +pkgdesc="New Time Tracking and Task Management application." +url="https://empoche.com" +provides=('empoche') +arch=('x86_64') +license=('Properitary') +depends=('libnotify' 'libappindicator-gtk3' 'libxss' 'nss') +source_x86_64=("https://empoche-desktop.s3.eu-central-1.amazonaws.com/empoche-${pkgver}.pacman") +sha256sums_x86_64=('70ff7565627a76976a9f6a11aa6f5501a7c936b0b7fcaf49dfb6e51f21366262') + +package() { + # Install in /opt + install -d "${pkgdir}/opt" + cp -R "${srcdir}/opt/Empoche" "${pkgdir}/opt/" + + # Install the .desktop file + install -D -m644 "${srcdir}/usr/share/applications/${pkgname}.desktop" "${pkgdir}/usr/share/applications/${pkgname}.desktop" + + # Install the icons + for icon_size in 16 24 32 48 64 128 256 512 1024; do + icons_dir="/usr/share/icons/hicolor/${icon_size}x${icon_size}/apps" + install -d "${pkgdir}/${icons_dir}" + install -m644 "${srcdir}${icons_dir}/${pkgname}.png" \ + "${pkgdir}${icons_dir}/${pkgname}.png" + done + + # Add a launch script + printf '#!/usr/bin/bash\n\nXDG_DATA_DIRS=/usr/local/share/:/usr/share/ "/opt/empoche/empoche"' > "${srcdir}/empoche" + install -d "${pkgdir}/usr/bin" + install -D -m755 "${srcdir}/empoche" "${pkgdir}/usr/bin/" +} |