summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 52b9ed487a077e745b073b1164ef6936b48f6a32 (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
pkgname=pfsshell-git
pkgver=101.05da6d0
pkgrel=1
pkgdesc="Browse and edit PFS filesystems."
arch=("i686" "x86_64")
url="https://github.com/ps2homebrew/pfsshell"
license=('GPL-2.0')
makedepends=('meson')
source=('pfsshell-git::git+https://github.com/ps2homebrew/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}"
    meson setup builddir
    cd builddir
    meson compile
}

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