summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: b7217f7c102b6d065341f61e9d78c328b2faa9f4 (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=r31.761d26e
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"
}