-
Notifications
You must be signed in to change notification settings - Fork 0
/
PKGBUILD
25 lines (21 loc) · 665 Bytes
/
PKGBUILD
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
# Maintainer: Strykar <2946372+Strykar@users.noreply.github.com>
pkgname=signald-git
pkgname=pacman-hooks-strykar-git
pkgver=r44.580de45
pkgrel=1
pkgdesc='Various personal Pacman hooks'
arch=('x86_64')
_gitname='pacman-hooks'
url="https://github.com/strykar/${_gitname}"
license=('GPL')
depends=('git' 'pacman-contrib' 'reflector')
source=("git+https://github.com/strykar/${_gitname}")
md5sums=('SKIP')
pkgver() {
cd "${srcdir}/${_gitname}"
printf "r%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)"
}
package() {
cd "${srcdir}/${_gitname}"
install -Dm 644 -t "${pkgdir}/usr/share/libalpm/hooks" nvidia/nvidia-keylase.hook
}