[arch-commits] Commit in (5 files)
David Runge
dvzrv at archlinux.org
Fri Feb 14 18:41:32 UTC 2020
Date: Friday, February 14, 2020 @ 18:41:31
Author: dvzrv
Revision: 571169
Adding profile-cleaner from the AUR.
Added:
profile-cleaner/
profile-cleaner/repos/
profile-cleaner/trunk/
profile-cleaner/trunk/PKGBUILD
profile-cleaner/trunk/profile-cleaner.install
-------------------------+
PKGBUILD | 26 ++++++++++++++++++++++++++
profile-cleaner.install | 7 +++++++
2 files changed, 33 insertions(+)
Added: profile-cleaner/trunk/PKGBUILD
===================================================================
--- profile-cleaner/trunk/PKGBUILD (rev 0)
+++ profile-cleaner/trunk/PKGBUILD 2020-02-14 18:41:31 UTC (rev 571169)
@@ -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}"
+}
Added: profile-cleaner/trunk/profile-cleaner.install
===================================================================
--- profile-cleaner/trunk/profile-cleaner.install (rev 0)
+++ profile-cleaner/trunk/profile-cleaner.install 2020-02-14 18:41:31 UTC (rev 571169)
@@ -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