summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 5c7fb0557f98e43e26c4c0edfece0bef8546973e (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: thegala <thegala@disroot.org>

_pkgname=bleachbit
pkgname=bleachbit-py3-git
pkgver=r5046.93159c5b
pkgrel=2
pkgdesc='Deletes unneeded files to free disk space and maintain privacy. Python 3 version.'
url='https://www.bleachbit.org/'
license=('GPL3')
source=("${_pkgname}::git+https://github.com/bleachbit/bleachbit.git")
sha256sums=('SKIP')
arch=('any')
depends=('python-gobject' 'gtk3')
makedepends=('git')
conflicts=('bleachbit')
provides=('bleachbit')

pkgver() {
  cd "${srcdir}/${_pkgname}"
  printf "r%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)"
}

package() {
  cd "${srcdir}/${_pkgname}"
  make prefix=/usr DESTDIR="$pkgdir" install
}