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 pkgname=profile-cleaner
version=2.22 version=2.22
revision=1 revision=1
build_style=gnu-makefile
short_desc="Reduces profile size by cleaning their sqlite databases" short_desc="Reduces profile size by cleaning their sqlite databases"
makedepends="sqlite bc parallel findutils" makedepends="sqlite bc parallel findutils"
maintainer="graysky <graysky AT archlinux DOT us>" 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" distfiles="http://repo-ck.com/source/$pkgname/$pkgname-$version.tar.xz"
checksum=5802dbd1ef2aeddad1660452275e7c5663acd4acaa8289cf6ad8ea54098360d0 checksum=5802dbd1ef2aeddad1660452275e7c5663acd4acaa8289cf6ad8ea54098360d0
do_build() { post_install() {
make vinstall LICENSE 644 usr/share/licenses/$pkgname
}
do_install() {
make DESTDIR="$DESTDIR" install
install -Dm644 LICENSE "$DESTDIR/usr/share/licenses/$pkgname/LICENSE"
} }
profile-cleaner_package() { profile-cleaner_package() {