From 5509a337a63b8e55e3cabc945091dc17d69b7d2f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?S=C3=A9bastien=20Luttringer?= Date: Fri, 29 Mar 2013 14:34:17 +0100 Subject: [PATCH] base-seblu: display local and unsused packages --- PKGBUILD | 3 ++- base-seblu.install | 18 ++++++++++++++++++ 2 files changed, 20 insertions(+), 1 deletion(-) create mode 100644 base-seblu.install diff --git a/PKGBUILD b/PKGBUILD index 16e11a3..0217d66 100644 --- a/PKGBUILD +++ b/PKGBUILD @@ -2,11 +2,12 @@ pkgname=base-seblu pkgver=2013.03.29 -pkgrel=1 +pkgrel=2 pkgdesc='Provide depends on minimal seblu hosts packages' arch=('any') url='https://github.com/seblu/arch-packages' license=('GPL2') +install=$pkgname.install package() { depends=( diff --git a/base-seblu.install b/base-seblu.install new file mode 100644 index 0000000..0bfc09c --- /dev/null +++ b/base-seblu.install @@ -0,0 +1,18 @@ +# arg 1: the new package version +# arg 2: the old package version + +# arg 1: the new package version +post_install() { + echo '::: Unused dependencies' + pacman -Qdt + echo '::: Local-only packages' + pacman -Qm +} + +# arg 1: the new package version +# arg 2: the old package version +post_upgrade() { + post_install "$1" +} + +# vim:set ts=2 sw=2 et: -- GitLab