profile-cleaner: use gnu-makefile build method; use vinstall.
This commit is contained in:
parent
e6ccfea0f4
commit
e8f91605ab
1 changed files with 3 additions and 7 deletions
|
@ -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() {
|
||||||
|
|
Loading…
Reference in a new issue