summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: a1b36aa7a17365214061950d63d0c08980049cf3 (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
# Maintainer: YeahSure <lapdogpdx.yahoo.com>

pkgname=filet-git
pkgver=r69.722613d
pkgrel=1
pkgdesc="A fucking fast file manager for your terminal"
arch=('i686' 'x86_64')
url="https://github.com/buffet/filet"
license=('MPL')
depends=()
makedepends=('git')
conflicts=('filet')
provides=('filet')
source=("${pkgname}::git+https://github.com/buffet/filet.git")
sha256sums=('SKIP')

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

build() {
  cd "${srcdir}/${pkgname}"
  make
}

package() {
  cd "${srcdir}/${pkgname}"
  DESTDIR="${pkgdir}" PREFIX=/usr make install
}