summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 6d206a4bb44b916e4900f53768e8fc81ed701caa (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
# Maintainer: Erick Pires pires@erickpires.com
pkgname=pfsshell-git
pkgver=28.dce247e
pkgrel=1
pkgdesc="Browse and edit PFS filesystems."
arch=("i686" "x86_64")
url="https://github.com/uyjulian/pfsshell"
license=('')
makedepends=('git' 'clang' 'gcc' 'make')
source=('pfsshell-git::git+https://github.com/erickpires/pfsshell.git')
md5sums=('SKIP')

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

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

package() {
    cd "$srcdir/${pkgname}"
    install -Dm755 pfsshell "$pkgdir/usr/bin/pfsshell"
}