summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 83d65fe3a2a122873b4ea9f339b8d484b31dfda2 (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
pkgname='dlauncher-git'
pkgver=0.1.2
pkgrel=1
makedepends=('rust' 'cargo')
conflicts=('dlauncher' 'dlauncher-bin')
provides=('dlauncher')
arch=('x86_64')
pkgdesc="An application launcher for Linux that is based on Ulauncher"
url="https://github.com/diced/dlauncher"
source=('git+https://github.com/diced/dlauncher.git#branch=trunk')
sha256sums=('SKIP')
license=('GPL3')


build() {
  cd "$srcdir/dlauncher" || exit 1
  make build
}

package() {
  cd "$srcdir/dlauncher" || exit 1

  install -D -o root -g root -m 755 target/release/dlauncher "$pkgdir/usr/bin/dlauncher"
  install -D -o root -g root -m 755 target/release/dlauncher-toggle "$pkgdir/usr/bin/dlauncher-toggle"
  install -D -o root -g root -m 644 LICENCE "$pkgdir/usr/share/licenses/$pkgname/LICENCE"
}