aboutsummarylogtreecommitdiffstats
path: root/PKGBUILD
blob: c93a1630f0b3b84d34dee5b6edb8b3b628ff8e74 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
# Maintainer: Harshal Rathore <harshalrathore2014@gmail.com>
pkgname=list-orphans-hook
pkgver=1.0
pkgrel=5
pkgdesc="A pacman hook that lists orphaned packages in prettier format."
arch=('any')
url="https://aur.archlinux.org/packages/list-orphans-hook"
license=('Creative Commons Zero v1.0 Universal')
depends=('bash' 'pacman' 'bc')
source=(
    "list-orphans.sh"
    "list-orphans.hook"
)
sha256sums=(
    'SKIP'
    'SKIP'
)

package() {
    install -Dm755 "${srcdir}/list-orphans.sh" "${pkgdir}/usr/bin/list-orphans"
    install -Dm644 "${srcdir}/list-orphans.hook" "${pkgdir}/usr/share/libalpm/hooks/list-orphans.hook"
}