summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: be23ffb703184abc9e8d240ae24ee0acbb32415a (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: Lara Maia <dev@lara.monster>

pkgname=colordf
pkgdesc="Colored and configurable version of df"
url="https://github.com/Calendulish/$pkgname"
pkgver=1.0
pkgrel=2
license=('GPLv2')
arch=('x86_64' 'i686' 'armv7h' 'aarch64')
makedepends=('util-linux-libs' 'cmake')
source=("https://github.com/Calendulish/$pkgname/archive/v$pkgver.tar.gz")
sha256sums=('50626f0ed82303f6968f6806cad6e943f24616a36ad945c243a1b2866ab141cd')

build() {
    cd $pkgname-$pkgver
    mkdir -p build
    cd build
    cmake .. -DCMAKE_BUILD_TYPE=Release
    make
}

package() {
    cd $pkgname-$pkgver/build
    install -Dm755 colordf $pkgdir/usr/bin/colordf
}