summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 7308abe4a8cbfa78095fe3455be3d427419561f6 (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
30
31
# Maintainer: tarball <bootctl@gmail.com>
# Contributor: Kyle Keen <keenerd@gmail.com>
# Contributor: Sergej Pupykin <pupykin.s+arch@gmail.com>
# Contributor: Tom Newsom <Jeepster@gmx.co.uk>
# Contributor: Jason Chu <jason@archlinux.org>

pkgname=xdiskusage
pkgver=1.60
pkgrel=2
pkgdesc="A user-friendly program to show you what is using up all your disk space"
arch=('i686' 'pentium4' 'x86_64' 'armv7h' 'armv6h' 'aarch64' 'riscv64')
depends=('fltk')
makedepends=('libxi')
license=('GPL-2.0-or-later')
url="https://xdiskusage.sourceforge.net"
options=(!emptydirs)
source=("https://xdiskusage.sourceforge.net/$pkgname-$pkgver.tgz")
sha256sums=('7b536dc6f1bdc6d9bec7c29b9435c23d9d32bff8a0ebee26b9966b273dc9f67e')

build() {
  cd "$srcdir/$pkgname-$pkgver"
  ./configure --prefix=/usr
  make
}

package() {
  cd "$srcdir/$pkgname-$pkgver"
  install -d "$pkgdir/usr/bin" "$pkgdir/usr/share/man/man1"
  make prefix="$pkgdir/usr" mandir="$pkgdir/usr/share/man" install
  chmod 0644 "$pkgdir"/usr/share/man/man1/*
}