summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: a79ee97e9a0d092d8a492f89443a938a8622b034 (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
# Maintainer: Karol Babioch <karol@babioch.de

pkgname=xwmfs-git
pkgver=0.82.r0.gdf2b3c5
pkgrel=1
pkgdesc="X11 Window-Manager file system based on FUSE"
arch=('x86_64')
url="https://github.com/gerstner-hub/xwmfs"
license=('GPL2')
depends=('fuse' 'libx11')
source=("git+https://github.com/gerstner-hub/xwmfs.git")
sha256sums=('SKIP')

pkgver() {
    cd "${srcdir}/xwmfs"
    git describe --long | sed 's/^v//;s/\([^-]*-g\)/r\1/;s/-/./g'
}

build() {
    cd "${srcdir}/xwmfs"
    ./bootstrap
    ./configure --prefix=/usr
}

package() {
    cd "${srcdir}/xwmfs"
    make DESTDIR="${pkgdir}" install
}