[arch-commits] Commit in profile-cleaner/repos (3 files)
David Runge
dvzrv at archlinux.org
Fri Feb 14 18:42:59 UTC 2020
Date: Friday, February 14, 2020 @ 18:42:59
Author: dvzrv
Revision: 571170
archrelease: copy trunk to community-any
Added:
profile-cleaner/repos/community-any/
profile-cleaner/repos/community-any/PKGBUILD
(from rev 571169, profile-cleaner/trunk/PKGBUILD)
profile-cleaner/repos/community-any/profile-cleaner.install
(from rev 571169, profile-cleaner/trunk/profile-cleaner.install)
-------------------------+
PKGBUILD | 26 ++++++++++++++++++++++++++
profile-cleaner.install | 7 +++++++
2 files changed, 33 insertions(+)
Copied: profile-cleaner/repos/community-any/PKGBUILD (from rev 571169, profile-cleaner/trunk/PKGBUILD)
===================================================================
--- community-any/PKGBUILD (rev 0)
+++ community-any/PKGBUILD 2020-02-14 18:42:59 UTC (rev 571170)
@@ -0,0 +1,26 @@
+# Maintainer: David Runge <dvzrv at archlinux.org>
+
+pkgname=profile-cleaner
+pkgver=2.37
+pkgrel=2
+pkgdesc="Simple script to vacuum and reindex sqlite databases used by browsers"
+arch=('any')
+url="https://github.com/graysky2/profile-cleaner"
+license=('MIT')
+depends=('bash' 'bc' 'parallel' 'sqlite')
+optdepends=('zsh-completions: for completion when using zsh')
+install="${pkgname}.install"
+source=("$pkgname-$pkgver.tar.gz::https://github.com/graysky2/${pkgname}/archive/v${pkgver}.tar.gz")
+sha512sums=('238dde1ee1fb612d9a7c9ed074a07fbbf2902204548de418a99c53cbf691aaa2d666a37a4fdaf83e2a802777549c9bd996b047b56239495c0db028212370ddb5')
+
+build() {
+ cd "$pkgname-$pkgver"
+ make
+}
+
+package() {
+ cd "$pkgname-$pkgver"
+ make DESTDIR="$pkgdir/" install
+ install -vDm 644 LICENSE -t "${pkgdir}/usr/share/licenses/${pkgname}"
+ install -vDm 644 README.md -t "${pkgdir}/usr/share/doc/${pkgname}"
+}
Copied: profile-cleaner/repos/community-any/profile-cleaner.install (from rev 571169, profile-cleaner/trunk/profile-cleaner.install)
===================================================================
--- community-any/profile-cleaner.install (rev 0)
+++ community-any/profile-cleaner.install 2020-02-14 18:42:59 UTC (rev 571170)
@@ -0,0 +1,7 @@
+## arg 1: the new package version
+## arg 2: the old package version
+# shellcheck disable=SC2016
+
+post_install() {
+ echo 'Target browsers/ email clients must not run when cleaning their profiles (consult `man 1 pc` for more info).'
+}
More information about the arch-commits
mailing list