summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: fd325cd280ab2a24be934af453233608b3889ac6 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
# Maintainer: madprops <mprops at protonmail dot com>

pkgname="symview-git"
pkgdesc="Find files and create symlinks"
pkgver=r32.06c6e6c
pkgrel=1
arch=("x86_64")
url="https://github.com/madprops/symview"
license=("GPL3")
depends=("rofi")
makedepends=("git")
sha256sums=("SKIP")
source=("$pkgname::git+https://github.com/madprops/symview.git")

pkgver() {
  cd "$pkgname"
  printf "r%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)"
}

package() {
  cd symview-git
  install -D -m755 symview.py "$pkgdir/usr/bin/symview"
}