# Template file for 'profile-cleaner'
pkgname=profile-cleaner
version=2.22
revision=1
build_style=gnu-makefile
short_desc="Reduces profile size by cleaning their sqlite databases"
makedepends="sqlite bc parallel findutils"
maintainer="graysky <graysky AT archlinux DOT us>"
license="MIT"
homepage="https://github.com/graysky2/profile-cleaner"
distfiles="http://repo-ck.com/source/$pkgname/$pkgname-$version.tar.xz"
checksum=5802dbd1ef2aeddad1660452275e7c5663acd4acaa8289cf6ad8ea54098360d0

post_install() {
  vinstall LICENSE 644 usr/share/licenses/$pkgname
}

profile-cleaner_package() {
  noarch="yes"
  depends="sqlite bc parallel findutils"
  pkg_install() {
    vmove all
  }
}
