summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 0e68826c0742d53e8acaba3dc3dc1ffb97b0f919 (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.83.r2.gd931124
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
}