blob: 2952e5fb3640df6dc397ffb43227477f4250cd8f (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
|
# Maintainer: Rafael Dominiquini <rafaeldominiquini at gmail dot com>
_author=backslash-app
_basename=backslash
pkgname=${_basename}-bin
pkgver=0.2.1
pkgrel=1
pkgdesc="A lightning-fast command launcher that helps you launch commands, run apps, and streamline your workflow—all while embracing the quirky spirit of Linux!"
arch=('x86_64')
url="https://github.com/backslash-app/backslash"
license=('MIT')
conflicts=("${_basename}")
provides=("${_basename}")
makedepends=('tar')
depends=('desktop-file-utils' 'gtk2' 'hicolor-icon-theme' 'libtiff' 'libpng' 'librsvg' 'poppler-glib' 'xdg-utils' 'vlc' 'xz')
optdepends=('perl: Fetching stock market info for the emStocks plugin'
'htmldoc: Rendering HTML documents')
source=("https://github.com/${_author}/${_basename}/releases/download/v${pkgver}/${_basename}_${pkgver}_amd64.deb")
sha256sums=('d9e134624a3b3baba9d32f3504af6c3ae2d958e80781533c105f67a19967a47c')
package() {
cd "${pkgdir}"
# this extracts all into the pkgdir
tar xf "${srcdir}/data.tar.xz"
# fix app name
sed -i 's/Name=backslash/Name=Backslash/g' "${pkgdir}/usr/share/applications/${_basename}.desktop"
# symlink
mkdir -p "${pkgdir}/usr/bin/"
ln -rsf "${pkgdir}/opt/${_basename}/${_basename}" "${pkgdir}/usr/bin/${_basename}"
}
|