diff options
-rw-r--r-- | PKGBUILD | 10 |
1 files changed, 6 insertions, 4 deletions
@@ -2,18 +2,20 @@ pkgname=pacman-kernel-install-git pkgver=r1.79dfc1c -pkgrel=1 +pkgrel=2 pkgdesc='pacman hooks for kernel-install' -url='https://gitlab.com/crazyh/pacman-kernel-install' +url='https://github.com/crazyh/pacman-kernel-install' license=('GPL') -source=('kernel-install-add.hook' 'kernel-install-remove.hook') -md5sums=(SKIP{,}) +source=('git+https://github.com/crazyh/pacman-kernel-install') +md5sums=('SKIP') arch=('any') depends=('bash' 'mkinitcpio' 'systemd') makedepends=('git') provides=("${pkgname%-git}") pkgver() { + cd "${pkgname%-git}" + printf 'r%s.%s' "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)" } |