profile-cleaner: use gnu-makefile build method; use vinstall.

This commit is contained in:
Juan RP 2013-06-14 18:18:40 +02:00
parent e6ccfea0f4
commit e8f91605ab

View file

@ -2,6 +2,7 @@
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>"
@ -10,13 +11,8 @@ homepage="https://github.com/graysky2/profile-cleaner"
distfiles="http://repo-ck.com/source/$pkgname/$pkgname-$version.tar.xz"
checksum=5802dbd1ef2aeddad1660452275e7c5663acd4acaa8289cf6ad8ea54098360d0
do_build() {
make
}
do_install() {
make DESTDIR="$DESTDIR" install
install -Dm644 LICENSE "$DESTDIR/usr/share/licenses/$pkgname/LICENSE"
post_install() {
vinstall LICENSE 644 usr/share/licenses/$pkgname
}
profile-cleaner_package() {