aboutsummarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 1030cb93d7ce4554469c22f6af97ecf53ed85873 (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=4
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"
}